Utilities.IntersectRayWithObb(Vector, Vector, Vector, Angle, Vector, Vector)

shared
Intersect a ray with an oriented bounding box

Arguments

Returns

  • Vector End position of the intersection
  • Vector Normal of the intersection
  • number Fraction of the intersection

Examples

Utilities.IntersectRayWithObb – Intersect a ray with an oriented bounding box