Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 609 Bytes

File metadata and controls

15 lines (9 loc) · 609 Bytes

Home > server > CollisionCallback

CollisionCallback type

A callback function that is called when a collision occurs.

Signature:

export type CollisionCallback = ((other: BlockType | Entity, started: boolean) => void) | ((other: BlockType | Entity, started: boolean, colliderHandleA: number, colliderHandleB: number) => void);

References: BlockType, Entity