(2 intermediate revisions by one other user not shown)
Line 6:
Line 6:
|Name=Mesh Collider
|Name=Mesh Collider
}}
}}
A mesh collider allows for making a 1:1 collider of the given <code>Mesh</code>
A mesh collider allows for making a 1:1 collider of the given <code>Mesh</code>.
{{Note|Too many polygons colliding with a single collider at once can cause immense frame rate drops. Make sure the geometry on a given mesh collider is not concentrated in a small spot or too dense to avoid this!|danger}}
<!--T:2-->
<!--T:2-->
Line 19:
Line 21:
|Sidedness|MeshColliderSidedness| Front or back sided collisions.
|Sidedness|MeshColliderSidedness| Front or back sided collisions.
|ActualSpeculativeMargin|{{RootFieldType|RawOutput`1|[[Type:Float|Float]]}}|TypeAdv7=true| Essentially the room for error on the collisions for this collider.
|ActualSpeculativeMargin|{{RootFieldType|RawOutput`1|[[Type:Float|Float]]}}|TypeAdv7=true| Essentially the room for error on the collisions for this collider.
}}
== Sync Delegates ==
{{Table ComponentTriggers
|ConvexDecomposition:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the create convex hull decomposition button is touched.
|ReplaceWithBox:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the replace with box collider button is touched.
A mesh collider allows for making a 1:1 collider of the given Mesh.
Too many polygons colliding with a single collider at once can cause immense frame rate drops. Make sure the geometry on a given mesh collider is not concentrated in a small spot or too dense to avoid this!