Garry's Mod Wiki

Vehicle:CheckExitPoint

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.

Special Pages


Wikis

?

Render Time: 52ms

DB GetPage 35
Generate Html 3
SaveChanges (1) 5
Render Body 0
Render Sidebar 6