Garry's Mod Wiki

PhysObj:LocalToWorld

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

Page Links


Special Pages


Wikis

?

Render Time: 76ms

DB GetPage 53
Generate Html 3
SaveChanges (1) 10
Render Body 0
Render Sidebar 7