rocket_league.state_mutators.kickoff_mutator

Classes

KickoffMutator

A StateMutator that sets up the game state for a kickoff.

Module Contents

class rocket_league.state_mutators.kickoff_mutator.KickoffMutator

Bases: rlgym.api.StateMutator[rlgym.rocket_league.api.GameState]

A StateMutator that sets up the game state for a kickoff.

SPAWN_BLUE_POS
SPAWN_BLUE_YAW
SPAWN_ORANGE_POS
SPAWN_ORANGE_YAW
apply(state: rlgym.rocket_league.api.GameState, shared_info: Dict[str, Any]) None

Function to be called each time the environment is reset. This function should change any desired values of the State. The values within State are sent to the transition engine to set up the initial state.

Parameters:
  • state – State object to be modified with desired state values.

  • shared_info – A dictionary with shared information across all config objects.