Utilities.IntersectRayWithObb(Vector, Vector, Vector, Angle, Vector, Vector)
shared
Arguments
- vecRayStart Vector
- vecRayDelta Vector
- vecBoxOrigin Vector
- angBoxAngles Angle
- vecBoxMins Vector
- vecBoxMaxs Vector
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