My character keeps passing through the walls

So this issue is for the same game as last time. I fixed the last bug, but I can’t seem to keep the player from going through walls. Additionally, the top arrow key makes me go forwards, but if I turn the camera via the mouse, I need to use the side one to go forwards. Can you help me with either of these problems, please? Thank you for reading this fully btw :slight_smile:

Here’s a link
https://playcanvas.com/editor/scene/1304412

Hi @Sonicat,

Looking at your move.js script, for the character to respect the rigid bodies and not go through them, it needs to be a rigid body himself and move using forces/impulses.

Check the first person movement example for a simple tutorial on how that works:

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