How to take things and move them around?

Nudel

17-09-2006 16:27:17

Lets say, ive got a mesh of a person, whos trying to grap his glasses and put them on. The person and the glasses are 2 different meshes. How can i attach the glasses to the hand of the person, so they dont just move with the persons arm but also rotate? A more popular example would probably be game meshes of characters holding objects such as swords. Is this something that needs to be done with a physics engine such as ogre newt or does ogre itself contain methods to solve this problem?

danharibo

23-09-2006 00:32:23

You could attatch the Node to a Bone?

walaber

23-09-2006 01:57:17

yeah, you can do that with Ogre by itself no problem, just attach the mesh to the bone representing the hand, etc.