Class: Collider

shf3d.Collider

Class representing a collider vertex that detects collisions with other entities, provided they implement collision detection.

new shf3d.Collider ()

Properties:
Name Type Description
collisions Array.<shf3d.Entity>

[readonly] The entities that the collider is currently colliding with.

enabled bool

(default: true) Whether the collider is enabled.

Extends