Entity falling through some parts of large model

Hi guys,

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

In our new game, as the player moves around, there are points in the city where the entity simply falls through. Is this because of mesh colliders? How do we fix this?

I would double check the mesh that you are using for the collider and see if there are any gaps or seams that have been left open. It could also be related to the shape of some of the polygons (example really narrow polys) that physics engines don’t like.

Normally, the mesh collider is a separate mesh to the model due to reasons like this. It allows the mesh collider model to be simplified (and therefore less expensive) and have more appropriate shaped polys.

I don’t think any of the polys are too narrow. Is there any other workaround?

Could you please take a look? Thanks…

Scene is no longer accessible?

Yes, I had deleted it. I’ll add it back, one sec

https://playcanvas.com/editor/project/610586

This should work. Try Now.

I’m looking at the wireframe for the mesh now. The solid blue area is just full of very narrow meshes that you can’t see in individual polys. (This is the road area)

image

Physics engines don’t tend to do well with meshes like this and would generally need to look more like this:

I’m not really adept at 3d modelling. Could you please help me fix this?

You will need to find someone who can create a simplified model for collision or find some way to get the approximate shape using primitives.

Most of my team are developers or are familiar with SketchUp. Is there a way to do this in SketchUp?