Moving camera on a sphere surface


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.


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