I’m using an environment model and first person movement to move (w-s-a-d keys) the camera around on it.
The environment entity has a model-, collision- and rigidbody component, but the problem is that collision doesn’t work as intended. The player entity is not falling through the ground, but when I run into walls or other objects on the x-z axis, collision doesn’t happen where it should. It seems like the visual mesh and collision mesh are different. There is also collision with invisible objects, where it shouldn’t happen.
Here is my Project