Action¶
The Race.step function takes an optional action or list of actions as an input.
- class pystk.Action¶
SuperTuxKart action
- property acceleration float¶
Acceleration, normalize to 0..1
- property brake bool¶
Hit the brakes. Zero acceleration and brake=True uses reverse gear.
- property drift bool¶
Drift while turning
- property fire bool¶
Fire the current pickup item
- property nitro bool¶
Use nitro
- property rescue bool¶
Call the rescue bird
- property steer float¶
Steering angle, normalize to -1..1