<div>Hi Max£¬</div><div>   Robert is right,add constraint to dragger.</div><div>   You can find the constraint work on command in dispatch method  of class Dragger.</div><div>   As for the example,you can see the class GridConstraint inherited from class Contraint.</div><div>   Just add breakpoint,and follow the code,you can know how it work clearly. </div><div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "Max Power"<daniel.lehmann85@hotmail.com>;</div><div><b>Date: </b> Fri, Oct 26, 2018 00:14 AM</div><div><b>To: </b> "osg-users"<osg-users@lists.openscenegraph.org>;<wbr></div><div></div><div><b>Subject: </b> Re: [osg-users] Adding Constraints to Draggers</div></div><div><br></div>Hi Robert,<br><br>ah okay, I understand. Thank you for your fast reply.<br><br>I saw OpenSceneGraph/examples/osgmanipulator/osgmanipulator.cpp and I noticed, that it also uses the Constraint class. However, I don't quite understand it unfortunately. All constrain methods of the class are set to true here and I don't get why this was done. Okay, but then I will try to take a deeper look into the code.<br><br>But how is the situation currently? Are osgmanipulator and especially the dragger classes are still used today? Or do most people rather write everything from scratch instead of using osgmanipulator?<br><br>Thank you for your help! :)<br><br>Cheers,<br>Max<br><br>------------------<br>Read this topic online here:<br>http://forum.openscenegraph.org/viewtopic.php?p=75133#75133<br><br><br><br><br><br>_______________________________________________<br>osg-users mailing list<br>osg-users@lists.openscenegraph.org<br>http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org<br></div>