[osg-users] Keeping camera fixed

Alberto Luaces aluaces at udc.es
Fri May 31 08:34:18 PDT 2019

"Renzo Scaletta" writes:

> What I see is that the camera "follows" in some way the bodies movements without having done anything in the code to trigger that behavior explicitly.

Hi, Renzo, certainly it shouldn't be happening by default.  I am
thinking about some possible causes (they could be more, of course):

a) You are using some sort of NodeTrackerManipulator attached to the
viewer, otherwise its matrix shouldn't change.

b) You are repeatedly calling the home() method, or just pressing SPACE,
so the view is enlarged or shrunk in order to fit the whole scene.


More information about the osg-users mailing list