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: 31ms

Session 0
DB GetPage 3
Generate Html 5
SaveChanges 11
Render Body 0
Render Sidebar 8