[osg-users] [forum] Dragging individual model nodes

Alberto Luaces aluaces at udc.es
Mon Apr 29 00:24:48 PDT 2019


"Maxim Senin" writes:

> I want  to completely detach the door!!!

Nice to know!!!  Then what you want is to use
osg::Transform::setReferenceFrame() on the node holding the position of
the door, switching from RELATIVE_RF to ABSOLUTE_RF so its coordinates
are in the global system and not in the coordinate system of the whole
car.

-- 
Alberto



More information about the osg-users mailing list