Jump to content

Custom collision shape


photo

Recommended Posts

Posted

I can't find option for my complex geometry to have it's collision shape equal to it - to original.
There are following options for Physics/Shape:

Sphere, Capsule, Cylinder,Box, Convex, Autogenerated, Box and 4 Spheres, Box and 8 Spheres, Capsule and 2 Spheres.
I suppose Autogenerated option should do that, but when adding it, I get error:  "Can't create ShapeConvex"

btw Convex is not suitable for me.
 

Posted

Just to explain, my geometry consists of one object, containing both floor, walls and ceiling, so Convex is not appropriate.
And I don't want to create separate shape for every part, for every floor, wall, etc.

Posted

Hello!

Unfortunately, at the moment, there is no way to generate shapes for complex non-convex meshes. We’ll consider how to improve this behavior in a future versions.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

  • 1 month later...
Posted
On 5/21/2025 at 8:40 AM, silent said:

Hello!

Unfortunately, at the moment, there is no way to generate shapes for complex non-convex meshes. We’ll consider how to improve this behavior in a future versions.

I think the meaning here is how it works in the Unity engine: when you add a "Mesh Collider" component, it automatically uses the mesh shape of the object itself, and this is very fast and convenient. I would like to see something similar in your engine, because if we take Unreal Engine, for example, working with collisions there is much more complicated.

×
×
  • Create New...