NodeWorld

Collider

La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.

csharp
public class Collider : Component

Namespace NodeWorld.Flux.

A Collider of the world: a box, a sphere, a mesh or another kind. The server has none.

Properties

isTrigger

csharp
public bool isTrigger { get; set; }

A trigger: things go through it, and it tells OnTriggerEnter and OnTriggerExit.

enabled

csharp
public bool enabled { get; set; }

The collider is on.

bounds

csharp
public Bounds bounds { get; }

The box around the collider, in the world.