diff --git a/Chunks.py b/Chunks.py index 9a1eb82..8f472b0 100644 --- a/Chunks.py +++ b/Chunks.py @@ -184,10 +184,36 @@ def PROP(chunk, rbxm): matricies=createTable(sizeof) for i in range(sizeof): rawOrientation=ord(buffer.read()) - if (rawOrientation>0): - orientID=rawOrientation - 1 + if rawOrientation > 0: + orientID = rawOrientation - 1 + R0=Vector3.fromNormalId(orientID // 6) + R1=Vector3.fromNormalId(orientID % 6) + R2=R0.Cross(R1) + matricies[i]=[R0, R1, R2] + else: + r00, r01, r02=buffer.readNumber("