[osg-users] Get the camera axis (X,Y,Z)

Oren David orendavd at gmail.com
Thu Mar 26 04:36:00 PDT 2009


I'm trying to get my camera axis because I want to rotate an node according to these axis. I have a camera controlled by a joystick and a node, sometime I move the camera around and sometimes I need the node to rotate relatively to my camera also using the joystick,
so I'll be able to rotate the node left/right up/down relatively to my  camera current position

I hope I explained my self fair enough.

Thank you.

Read this topic online here:

More information about the osg-users mailing list