Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Collider

A collider represents the abstraction of a physics collider object on the host.

Hierarchy

  • Collider

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Creates a new Collider instance.

    Parameters

    • $owner: Actor

      The owning actor instance. Field name is prefixed with a dollar sign so that it is ignored by the actor patch detection system.

    Returns Collider

Properties

collisionLayer

collisionLayer: CollisionLayer

enabled

enabled: Readonly<boolean>

isTrigger

isTrigger: boolean

Accessors

colliderParams

  • get colliderParams(): object | object
  • Returns object | object

Methods

copy

  • Parameters

    Returns this

toJSON

  • Returns ColliderLike