Hi.
I have a mouse cursor.
I want to know the vector it is pointing to.
Like if the center of sceen is aligned to vehicle I am driving (Y part of rotation matrix), then where is mouse aiming at. This would be used for a gun mounter on vehiche. The gun would be controled using a mouse, a vehicle using a keyboard.
Can you help me with algorithm of some sort?
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
