Edge is a single line collider to create collisions with a single line.

Hierarchy

Constructors

Properties

begin: Vector
end: Vector
events: EventEmitter<any> = ...
id: Id<"collider"> = ...
offset: Vector

Pixel offset of the collision collider relative to the collider, by default (0, 0) meaning the collider is positioned on top of the collider.

owner: Entity

Accessors

Methods