Physics Components
    Preparing search index...

    Class CastResultInterface

    Index
    entity: Entity

    Entity that the cast has detected.

    fraction: number

    Contact fraction. This is a normalized length (0-1 range) along the cast's path from start to end where the contact has been detected.

    normal: Vec3 | null = null

    Contact normal will be included only if the query options requested to calculate contact normal. Otherwise it will be null (default).

    point: Vec3

    Cast result world point.