Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 567 Bytes

File metadata and controls

15 lines (9 loc) · 567 Bytes

Home > server > FaceCallback

FaceCallback type

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

Signature:

export type FaceCallback = (currentRotation: QuaternionLike, targetRotation: QuaternionLike) => void;

References: QuaternionLike