Matrix Engine Api Documentation - v1.9.0
    Preparing search index...

    Function rayIntersectsSphere

    • Parameters

      • rayOrigin: any
      • rayDirection: any
      • sphereCenter: any
      • sphereRadius: any

      Returns { hitNormal: Vec3; hitPoint: Vec3; t: number }