MeshCollider

csharp
public sealed class MeshCollider : Collider

Namespace NodeWorld.Flux.

A collider shaped by a mesh (a mesh of the scene or one made by a script).

Properties

sharedMesh

csharp
public Mesh sharedMesh { get; set; }

The mesh the collider is shaped by; setting it makes the physics take its shape now (null: no shape).

convex

csharp
public bool convex { get; set; }

A convex hull of the mesh (needed to collide with another mesh collider, or on a moving rigidbody).