Hi, I have some trouble understanding this two functions FirstPersonManipulator#moveForward() and FirstPersonManipulator#moveUp(). It is clear, what they are doing, I just do not get why. In particular, the vector used is what bothers me. FirstPersonManipulator#moveRight() uses a distance along the x-axis (Vec3d(distance,0,0)), which I perfectly understand, if one wanna move right or left, it has to be done along the x-Axis. But moveForward() uses a distance, even a negative one, along the z-axis (Vec3d( 0., 0., -distance)) to move forward whether moveUp() uses a distance along the y-axis (Vec3d( 0., distance, 0. )). As far as my unterstanding goes, I would do it vice versa, but that is apparently wrong and produces strange results (I did test it). So, why are this Vectors correct? Does the answer lies in some other code? I did check, but could not find it. I am sure lacking some fundamental unterstanding here, but I am stuck on my one, so any help would be appreciate.
Thank you! Cheers, Fitz ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59567#59567 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org