Garry's Mod Wiki

Revision Difference

PathFollower:GetClosestPosition#510789

<function name="GetClosestPosition" parent="PathFollower" type="classfunc">⤶ <description>The closest position along the path to a position</description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="position" type="Vector">The point we&#x27;re querying for</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="Vector">The closest position on the path</ret>⤶ </rets>⤶ </function>⤶ ⤶