Noesis Bones
Posted: Tue Jan 08, 2019 5:01 pm
Hello, I'm trying to parse model bones and create in noesis. This is what I'm trying to achieve:

And this is what I got in noesis with my script:


And this is what I got in noesis with my script:

Code: Select all
def parse_bones(self):
for i in range(self.numBones):
boneName = self.read_name()
boneIndex = self.inFile.readUShort()
boneFlags = self.inFile.readByte()
#boneMatrix = self.inFile.read('16f')
boneMat = NoeMat44.fromBytes(self.inFile.readBytes(64)).toMat43()
boneChildCount = self.inFile.readUInt()
bone = NoeBone(boneIndex, boneName, boneMat)
self.boneList.append(bone)
