PhysObj:LocalToWorldVector
Description
Transforms a vector in the local space of the physics object merely by the rotation of the PhysObj:GetPositionMatrix().
In contrast to PhysObj:LocalToWorld, this function doesn't translate the vector.
Arguments
Returns
Example
Suppose... The angle of some physics object is ( 0.045, 89.952, 89.993 ). Transform a vector ( 1, 2, 3 ) by that physics object's position matrix's rotation.
Output:  Angle of that some PhysObj: 0.045 89.952 89.993
The result vector: 3.000585 0.999039 1.999603
			Garry's Mod 
		
			Rust 
		
			Steamworks 
		
			Wiki Help