moving two scene nodes [solved]

dudeabot

22-01-2008 20:52:21

sometimes i export a model from 3Dmax - a human for example, and it comes with various meshes (torso, hand, foot, etc)

im trying to move the bodies together, but i dont know it can be done?

here is what im trying

i make two bodies, each one attached to a different node

say bodyA attached to nodeA
and bodyB attached to nodeB

and a parent node of nodeB and nodeA (nodeC)

nodeC doesnt have a body(i dont think its possible?)

so how do i move both nodes at same time?i think i cannot move nodeC directly (body wont update location, besides physical issues)

another method would not attach the nodes to the body, but update the body position to match the node position, but many times i dont have all body instances, i only create them and dont keep the pointer :(

albino

23-01-2008 07:54:49

why you load the model as several parts?

dudeabot

24-01-2008 17:07:02

it wa sthe way 3dmax was importing, i messed with the model, its working as only one model now :)