Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 4
Generate Html 3
SaveChanges (1) 10
Render Body 0
Render Sidebar 12