util.IntersectRayWithOBB
Vector, Vector, number util.IntersectRayWithOBB( Vector rayStart, Vector rayDelta, Vector boxOrigin, Angle boxAngles, Vector boxMins, Vector boxMaxs )
Description
Performs a "ray" box intersection and returns position, normal and the fraction.
Arguments
2 Vector rayDelta
The ray vector itself. This can be thought of as: the ray end point relative to the start point.
Note that in this implementation, the ray is not infinite - it's only a segment.