Godot-docs: Explain the difference between trimesh and convex body

Created on 6 Mar 2019  路  2Comments  路  Source: godotengine/godot-docs

The MeshInstance menu has these options:

  • Create trimesh static body
  • Create convex static body
  • Create trimesh collision sibling
  • Create convex collision sibling

What do trimesh and convex mean in this context?
How should I choose one or the other?
Is one more precise and one more performant?

enhancement

All 2 comments

A trimesh is going to follow closer to your original mesh. Including concave sections. While a convex static body is going to encapsulate the exterior of the mesh, but will flatten out concave sections.

here is a useful image demonstrating the difference.

Your right, this should be documented somewhere.

Wow, looking back on this 18 months later like "did I really not know that?" :laughing:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stsewd picture stsewd  路  3Comments

eon-s picture eon-s  路  5Comments

clayjohn picture clayjohn  路  4Comments

RiverMesa picture RiverMesa  路  4Comments

KoopHauss picture KoopHauss  路  3Comments