Getting camera location between updates

This might help you out, it’s the order in which every update method or type of update gets called. It sounds like your camera’s position is being changed sometime after or before you’re saving the position, and it’s resulting in incorrect info at the end of the frame.

-queued tasks
-input listeners
-audio renderer
-app states update()
-simpleUpdate()
-root node control update
-gui node control update
-root node geometric update
-gui node geometric update
-app states render()
-render manager render
-simpleRender()
-app states postRender()

found here: Running Code After Input Listeners Are Called [SOLVED]