Mesh Collider Component: Difference between revisions

From Pummel Party Mod Documentation
Jump to navigation Jump to search
(Initial content)
 
Line 6: Line 6:
! Property !! Description
! Property !! Description
|-
|-
|'''Convex''' || Is this mesh convex? If the mesh is convex, tick this box to improve the collision detection of the mesh.
|'''Convex''' || Is this mesh convex? If the mesh is convex, tick this box to improve the collision detection of the mesh. <br />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.
| '''Mesh''' || The 3D mesh to use as a collider.

Revision as of 23:54, 31 October 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

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.