PhysObj/LocalToWorld

From Garry's Mod
Jump to: navigation, search
 PhysObj:LocalToWorld( )

Description

Mapping a vector in local frame of the physics object to world frame.

NOTE

this function does translation and rotation, with translation done first.

Arguments

Vector LocalVec

A vector in the physics object's local frame

Returns

Vector

The corresponding vector in world frame
Personal tools
Navigation