Home > server > CollisionCallback
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);