problem rendering is blitting [Solved]


I got a problem. My scene is well rendering, but about each second, I saw the scene as I was in (0,0,0) camera position just during a frame.


Does anybody knows this problem?

Do you have any code that alters your camera’s position – or that of any object beneath which it is parented – in any way? Perhaps some such piece of code has an unintended side-effect.

In fact, I log the position of camera, and something does that it cames back to 0,0,0.

I used base.disableMouse, to fix the problem, but I am not sure about consequences (for mouse object collision when you point & click, for bullet,…).

disableMouse should indeed used. It does not do as the name suggests; it simply disables the built-in camera control, so it should be safe.