Player Falling Through Rigid Body?

Sorry for posting so much but I have been enjoying the engine :face_with_open_eyes_and_hand_over_mouth:. My character controller keeps falling through the map at a specific point but I have no idea why. I have checked the mesh (vertices, normals etc…) and everything looks fine. I have also tried to make the collision volume thicker but no luck. Everywhere else where I have walked has been fine.

Here is the offending scene:
https://playcanvas.com/editor/scene/2181714

I placed a box on top of the area where I fall through. The terrain is divided into tiles for rendering but is solid for collision.

It is an issue with Ammo. Try changing the offending quad in the ground mesh (2 triangles) - change its diagonal from going right-left to left-right, basically rotate the triangles.

image

Is this an issue with triangles only or can it affect quads as well?

A quad is always 2 triangles. As far as Ammo is concerned, it can only see a soup of triangles.

1 Like

Is there any way to predict where this issue will occur on a mesh or any techniques that can be used to minimize it?

Ah I just found this thread [SOLVED] Terrain generation | Falling through mesh :slightly_smiling_face:

1 Like

I also find that the player will bounce around wildly on very big collisions, is there any way to prevent this other than just subdividing?

I am not sure what you mean by a big collision. Feel free to create a new topic, though, as it doesn’t seem related to the issue this thread is about.