WorldToLocal
Vector, Angle WorldToLocal( Vector position, Angle angle, Vector newSystemOrigin, Angle newSystemAngles )
Description
Translates the specified position and angle into the specified coordinate system.
Arguments
Returns
Example
Matrix math which showcases how this is calculated internally.