Mesh Collider Component: Difference between revisions
Jump to navigation
Jump to search
(Initial content) |
mNo edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
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" | ||
|- | |- | ||
! 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 to allow collisions to occur on all sides. | ||
|- | |- | ||
| '''Mesh''' || The 3D mesh to use as a collider. | | '''Mesh''' || The 3D mesh to use as a collider. | ||
Line 13: | Line 14: | ||
|- | |- | ||
|} | |} | ||
<br clear="all"> | |||
== Example Usage == | == Example Usage == | ||
Latest revision as of 01:58, 16 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
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 to allow collisions to 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.