crashcat docs
    Preparing search index...

    Function gjkCastRay

    • Cast a ray against a convex shape using GJK.

      Parameters

      • out: GjkCastRayResult

        output result object

      • rayOrigin: Vec3

        the starting point of the ray

      • rayDirection: Vec3

        the direction of the ray

      • tolerance: number

        convergence tolerance

      • support: Support

        support function for the shape

      • maxLambda: number = 1.0

        maximum lambda to check (default 1.0). Result lambda will not exceed this.

      Returns void