Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: what frame is mass_frame in rigid_body?

  1. #11
    Senior Member
    Join Date
    Aug 2004
    Location
    California
    Posts
    771

    Re: what frame is mass_frame in rigid_body?

    Quote Originally Posted by rdiankov
    thanks for the answers. in that case, are we understand that:

    all instance_rigid_body objects of the same instance_physics_model will share the same coordinate system?
    Yes. See pdf page 212 of the 1.5 spec for details. It's possible to kinematically move the physics model indirectly via its parent attribute.
    Quote Originally Posted by rdiankov
    however with the visual node hierarchy, child nodes have their own coordinate system different from their parent node.

    in that case assume that we have a node1->node2 relationship where node1 is at the origin and node2 is at (0,0,10) in node1's coordinate system. then we also have two rigid bodies: 'body1', 'body2'. 'body1' targets 'node1' and 'body2' targets 'node2'. Both body1 and body2 belong to a instance_physics_model whose parent node is node1. Therefore, body1 and body2 start with node1's coordinate system. And once the physics simulation starts, body2 will set the visual node2 to (0,0,0)?
    If ... body2 is dynamic, and its mass frame is [0,0,0], and the physics simulation hasn't compensated wrt body1, then yes I think that would be expected behavior from the declarations in the .dae document.

  2. #12
    cordsally
    Guest

    Re: what frame is mass_frame in rigid_body?

    Thanks for sharing this information, this increases my knowledge towards this matter....

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •