From Garry's Mod
Revision as of 15:58, 26 February 2018 by Robotboy655
Performs a trace against this PhysCollide with the given parameters. This can be used for both line traces and box traces.
The origin for the PhysCollide during the trace
The angles for the PhysCollide during the trace
The start position of the trace
The end position of the trace
The mins of the trace's bounds
The maxs of the trace's bounds
Hit position of the trace. This is false if the trace did not hit.
Hit normal of the trace
Fraction of the trace. This is calculated from the distance between startPos, hitPos, and endPos.