[Solved]getAttachmentsNode()

Hi.



Looking into the Control and Bone classes, there are methods called getAttachementsNode(). I assume these are for attaching weapons and items to characters, similar to the Mount Points blaine made for the jme-xml format. Is there any documentation on how to set these nodes? I expect you need to set them before exporting the object, but i haven’t been able to make the ogre exporter recognize additional child objects, nor have i found any ogre documentation about the subject.



Thanks

To solve my own question, i just had to look one level deeper into the classes.



You don’t actually have to set the attachments node, the AnimControl class creates one for you using the bone as its base. This will then follow the Bone’s transforms.

1 Like