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