PathFollower/GetPositionOnPath

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

Contents

Description

Returns the vector position of distance along path

Arguments

number distance

The distance along the path to query

Returns

Vector

The position

Examples

Example

Gets the current position on the path as a Vector.

path:GetPositionOnPath( path:GetCursorPosition() )


Personal tools
Navigation