Mesh Collider Component: Difference between revisions

From Pummel Party Mod Documentation
Jump to navigation Jump to search
(Added image)
Line 2: Line 2:


== Component Settings ==
== Component Settings ==
[[File:MeshColliderComponent.png|thumb|right|800px|The Mesh Collider component in the [[Inspector Window]] and [[Scene View]].]]
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 13: Line 14:
|-
|-
|}
|}
 
<br clear="all">
== Example Usage ==
== Example Usage ==



Revision as of 00:14, 8 December 2022

The mesh collider component is a Physics Component that creates an invisible, solid, volume from a provided mesh. The collider will only be solid on the outside faces of the given mesh.

Component Settings

The Mesh Collider component in the Inspector Window and Scene View.
Property Description
Convex Is this mesh convex? If the mesh is convex, tick this box to improve the collision detection of the mesh.
If the mesh isn't convex (i.e. it's one sided), it will be made convex by adding depth so collision can occur on all sides.
Mesh The 3D mesh to use as a collider.


Example Usage

Invisible objects

You may want to create an invisible platform as a challenge in a minigame.