In this scene I have 3 boxes. The camera is targeted on the central box (box1):
box1.position is updated in the
scene.beforeRender method by incrementing the variable
alpha, the box stays in the center of the screen as expected (commented lines).
alpha is changed with a slider (actual version of the playground),
box1 is shaking around the center of the screen when the slider is used to change alpha…
How should I proceed to alter this behavior?