RacerProgress
Last updated
Last updated
Field | Description |
---|---|
IsPlayer | bool
Returns true if the racer is a player. A racer is a player if the "RaceParticipant" component's property "IsPlayer" is set to True.
RacerName | string
The name of the root game object of the vehicle.
RacerProgressNormalized | float
A percentage of the progress on the current lap. Doesn't get updated after the racer finishes the race.
LapsPassed | int
The amount of laps completed by the racer.Doesn't get updated after the racer finishes the race.
FinishedRace | bool
Returns True if the amount of finished laps is higher than the amount of laps in a race.