How do i make a rigid body work after you make the character move

I’m really new to game making so sorry if i’m asking really simple and pointless questions.

But i’m having a problem where after i move my character collision no longer works and i don’t know how to make it work while im moving my character.(so i stop moving when i hit a wall or fall of the edge)

here is just what i’m doing for basic movement PlayCanvas | HTML5 Game Engine

For collisions to work you need to apply forces to the rigidbody rather than moving the entity directly.

The realtime multiplayer tutorial has a good minimal rigidbody movement script you can use for third person:

https://playcanvas.com/editor/scene/440347

The first person movement tutorial uses the same premise with mouselook added:

https://developer.playcanvas.com/en/tutorials/first-person-movement/

Also pay attention to the rigidbody parameters in those examples. You’ll need to adjust yours to prevent it from moving too fast.

oh thank you