Merge pull request #38348 from asheraryam/convex-decompose

[3.x] Create GDScript bindings for creating multiple-convex collision bodies
This commit is contained in:
Rémi Verschelde
2021-04-28 16:48:59 +02:00
committed by GitHub
3 changed files with 48 additions and 0 deletions

View File

@@ -27,6 +27,13 @@
This helper creates a [MeshInstance] child node with gizmos at every vertex calculated from the mesh geometry. It's mainly used for testing.
</description>
</method>
<method name="create_multiple_convex_collisions">
<return type="void">
</return>
<description>
This helper creates a [StaticBody] child node with multiple [ConvexPolygonShape] collision shapes calculated from the mesh geometry via convex decomposition. It's mainly used for testing.
</description>
</method>
<method name="create_trimesh_collision">
<return type="void">
</return>