[SOLVED] How to fix camera stutter?

Hi. I am doing a project in which the ball moves around the stage and a camera is attached to it. Sometimes there is a FPS drawdown and the ball on the screen is twitching. How can i deal with this problem so that everything works smoothly? Link: Sphere game - PLAYCANVAS
Use the WASD keys to control.

In your FollowCamera script, change the update function to be named postUpdate to ensure it executes after the ball’s position has updated.

I have little experience in development. Could you give an example or a link to a similar project? Thank you.

Just follow the instructions I gave. Change:

FollowCamera.prototype.update

to:

FollowCamera.prototype.postUpdate

1 Like

Thanks. It really works. :slight_smile:

Hello is it possible to have access to the editor of this project ([https://playcanv.as/b/4bOTmxN6/])? I similarly would like the camera to follow my entity without rotating with the entity’s pointing direction