[SOLVED] Camera Shaking Issue

The camera shakes when player moves against object, can somebody tell me how to fix this? Thanks in advance.

here is the link → PlayCanvas | HTML5 Game Engine

Hi @Brent_Reddick!

The camera shake is because you apply a force on the rigidbody of the entity while you are in front of an obstacle. As a result the rigidbody is bouncing back and forth.

Setting the resitution of the player’s rigidbody to zero solves this issue.

image

1 Like

That worked, thank you!

1 Like