Flickering when moving camera


I want the camera to follow the character on-screen, this is the code:

(it’s python, but should be understandable; self => this)


def simpleRender(self, rm):


location = self.player.physics_node.getLocalTranslation()


location.x + 30

, location.y + 60

, location.z + 30))


This however makes the screen flicker enormously.

I could use a ChaseCamera (which works without flicker), but it felt overkill and I didn’t find a way to turn off the rotation when using the mouse.

I’d say you should setLocation first and then lookAt, no?