Moving camera on a sphere surface

Hey,



I want to move the camera on the surface of a sphere. So I guess the up vector of the camera needs to be the normal of the polygon directly under it, but I can’t access the .setUp() method of a camera object. I’m using jME3_2012-03-18.



Greetings





EDIT: Ok, I think I got it. Have to use setAxes() right? Didn’t find a delete function for the post.

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:math_for_dummies