Garry's Mod Wiki

Vehicle:CheckExitPoint

Vector Vehicle:CheckExitPoint( number yaw, number distance )

Description

Tries to find an Exit Point for leaving vehicle, if one is unobstructed in the direction given.

Arguments

1 number yaw
Yaw/roll from vehicle angle to check for exit
2 number distance
Distance from origin to drop player

Returns

1 Vector
Returns the vector for exit position or nil if cannot exit that way.

Page Links


Special Pages


Wikis

?

Render Time: 53ms

DB GetPage 4
Generate Html 6
SaveChanges (1) 21
Render Body 0
Render Sidebar 19