Garry's Mod Wiki

PhysObj:WorldToLocal

PhysObj:WorldToLocal

Vector PhysObj:WorldToLocal( Vector vec )

Description

Converts a vector to a relative to the physics object coordinate system.

Arguments

1 Vector vec
The vector in world space coordinates.

Returns

1 Vector
The vector local to PhysObj:GetPos.

Special Pages


Wikis

?

Render Time: 23ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 6