CNavArea:GetClosestPointOnArea

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

Description

Returns the closest point of this Nav Area from the given position.

Arguments

Vector pos

The given position, can be outside of the Nav Area bounds.

Returns

Vector

The closest position on this Nav Area.
Personal tools
Navigation