Contains information for entity raycast hit results.

interface EntityRaycastHit {
    distance: number;
    entity: Entity;
}

Properties

Properties

distance: number

Distance from ray origin to entity bounds.

entity: Entity

Entity that was hit.