WorldToLocal

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

Contents

Description

Translates the specified position and angle into the specified coordinate system.

Arguments

Vector position

The position that should be translated from the current to the new system.

Arguments

Angle angle

The angles that should be translated from the current to the new system.

Arguments

Vector newSystemOrigin

The origin of the system to translate to.

Arguments

Angle newSystemAngles

The angles of the system to translate to.

Returns

Vector

Local position

Returns

Angle

Local angles
Personal tools
Navigation