If i move my collision goes off i don’t no how to fix it.
This is the link off my game
If i move my collision goes off i don’t no how to fix it.
This is the link off my game
If you are using dynamic rigidbodies, you have to use forces/velocities/etc to move the physics. At the moment, you are just moving the entity but the rigidbody hasn’t moved in the physics simulation.
A good example of this type of movement can be found here: https://developer.playcanvas.com/en/tutorials/first-person-movement/
A simple solution is to set the rigidbody type to Kinematic. But in that case you have to check for collisions in another way. In my own project I use raycasts for that.
That won’t stop the player going through walls though?
That’s true. Sorry for my answer.
Edit: I expanded my answer.