n-collider

native. n-collider

Abstract base class for n.n-sphere-collider, n.n-box-collider, n.n-capsule-collider, and n.n-mesh-collider. You cannot use this class directly, but instead you should add one of those components to your objects.

Properties:
Name Type Default Description
center vec3 0,0,0

The offset of the collider in local space.

type string hologram

The type of collider, one of: object | environment | hologram. Object colliders collide with other objects, the environment, and the cursor. Environment colliders collide with everything objects do, but you can also teleport onto them. Hologram colliders only collide with other holograms and the cursor.