Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 533 Bytes

File metadata and controls

20 lines (14 loc) · 533 Bytes

Home > server > RaycastHit

RaycastHit type

A hit result from a raycast.

Signature:

export type RaycastHit = {
    hitBlock?: Block;
    hitEntity?: Entity;
    hitPoint: Vector3Like;
    hitDistance: number;
};

References: Block, Entity, Vector3Like