Collision not working even when I added collision

(PlayCanvas | HTML5 Game Engine)


Please help me I have no clue how to fix this

Hi @Mango_Man and welcome!

Please ensure that you have also added a rigidbody component. For your obstacles, this could be a static (or kinematic) rigidbody.

Your player entity need a dynamic rigidbody. Please ensure you move this entity with forces. (Otherwise you only move the entity, while the rigidbody stays in place).