Variable getHasPassedTrackEnd
get
Has
Passed
Track
End
: ((position
: number, length
: number, isCircuited
?: boolean) => LuaTuple<[Option<boolean>, number]>)
Type declaration
-
- (position: number, length: number, isCircuited?: boolean): LuaTuple<[Option<boolean>, number]>
-
Parameters
-
position: number
-
length: number
-
Optional
isCircuited: boolean
Returns LuaTuple<[Option<boolean>, number]>
Returns the direction which the given position passes the end of the track line.
Also returns the clamped position. See clampToTrackLength for more info.