Sergey Polischuk wrote:
Coming back to starter post:
First:
you can update your position from physics with matrix transform or position 
attitude transform even if there are parent transforms on tree up to this node, 
you just need to modify (or write new) callback that setups nodes positions to 
count transforms up to this node (u can get that with computeLocalToWorld 
method of matrix transform), then u getting inverse of this matrix (or may be 
you can skip inverse when using computeWorldtoLocal ) and combine with matrix 
you got from physics simulation, then u get matrix u need to set for your node 
with physics object.

True, view = modelView * inverseModel. I'll take a look at implementing this in AbsoluteModelTransform.

--
  -Paul Martz      Skew Matrix Software
                   http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to