Garry's Mod Wiki

Garry's Mod Wiki

  Vector PhysObj:LocalToWorld( Vector LocalVec )

Description

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

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

Arguments

1 Vector LocalVec
A vector in the physics object's local frame

Returns

1 Vector
The corresponding vector in world frame

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...