Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 558 Bytes

File metadata and controls

15 lines (9 loc) · 558 Bytes

Home > server > MoveCallback

MoveCallback type

A callback function called when the entity associated with the SimpleEntityController updates its position as it is attempting to move to a target coordinate.

Signature:

export type MoveCallback = (currentPosition: Vector3Like, targetPosition: Vector3Like) => void;

References: Vector3Like