· car control
Pivot · Rocket League
rocket_league_ppoParticipants · LEIASantiago Saldaña Subías
A reinforcement learning model designed with , with and networks, for vehicle control in 1v1 .
Pivot is LEIA's agent for Rocket League. The project defines controls from the physical state of the game. Two networks, a and a , are trained with . The central question is how to combine the objective of scoring with frequent signals that guide learning before a goal is ever achieved.
- Project date
- Model used
- with and networks · configured design
What the agent observes
transforms the simulator state into a . The agent receives the positions, orientation and velocities of the ball and the cars, as well as information about and jumping. These variables make it possible to distinguish, for example, a stationary ball from one moving away, or a car on the ground from one that has already used its jump.
The chosen builder is DefaultObs, without padding for larger teams. It arranges the global information first, followed by that of the agent's own car and its opponents. For the orange team it inverts the coordinates into a : a strategy can learn to attack toward the same side in its internal representation.
scales positions by the field dimensions, linear velocity by the car's maximum and by its maximum. Boost is multiplied by 1/100. This fixes the input representation; the that relate these variables to decisions are learned.
- BallPosition and velocities
- Field and jumpAvailable boost · jump states
- Two carsPhysics, orientation and states
- One perspectiveInverted and scaled coordinates
From a choice to the car's controls
The network selects an index from a . Each entry combines throttle, steering, aerial rotation and buttons. The standard LookupTableAction table defines 90 useful ground and air combinations; it discards redundant combinations of the control space.
The parser translates that index into eight values: throttle, steer, , jump, and handbrake. RepeatAction holds the combination for eight physics . At 120 ticks per simulated second, the interval equals about 66.7 ms, or 15 decisions per second.
- PolicyControl probabilities
- IndexOne catalog entry
- 8 controlsMovement and buttons
- 8 ticksPhysics advances and the agent observes again
A policy and a critic
The design configures two independent with hidden layers of 2048 → 2048 → 1024 → 1024 units. The policy converts the observation into a probability distribution over the actions. The critic estimates a single value: the expected future from that state.
In the RLGym-PPO implementation, the hidden layers use . The policy output applies to obtain probabilities and during training. The critic learns to predict the return and helps determine whether an experience was better or worse than expected. Its estimate does not express a probability of scoring.
What is learned with PPO
Training alternates between collecting experience and updating the networks. A set of environments produces observations, actions and rewards. The critic estimates how much return can be expected; the compares that expectation with what followed the decision. PPO increases the probability of decisions with positive advantage and reduces that of decisions with negative advantage.
The limits the incentive for an update to change the probability too much relative to the policy that collected the experience. An term favors exploration. Learning means changing the network weights; the physics rules, observations, action catalog and reward functions remain defined by the experiment.
- 32 environmentsParallel experience
- 100,000 stepsCollection target per iteration
- PPO ·
- New weightsUpdated policy and critic
Four signals, one return
Reward provides frequent signals in addition to the goal. Each term is multiplied by its weight; its total contribution depends on its magnitude and on how many steps it is active. For that reason, comparing the coefficients alone does not reveal which one dominated a match.
| Signal | What it rewards | What it does not require | |
|---|---|---|---|
| Being in the air | 0.002 | 1 when the car is not on the ground; 0 on the ground. | Controlling the flight well or touching the ball. |
| Moving toward the ball | 0.01 | of the car's velocity toward the ball, divided by the car's maximum speed. | Contact with the ball; moving in the opposite direction is clipped to 0. |
| Ball toward goal | 0.1 | Positive projection of the ball's velocity toward the opponent's goal, divided by the ball's maximum speed. | That this player made the last touch. |
| Goal | 10.0 | GoalReward: +1 if the agent's own team scores, −1 if the opponent scores and 0 with no goal. | A full match: the episode ends with that goal. |
The velocity has a positive component toward the ball. The normalized signal is 0.5; its contribution with weight 0.01 is 0.005.
approach = max(0.5, 0) = 0.5
What bounds each episode
An begins at a kickoff with one car per team. It terminates when either team scores. It is after 30 seconds without a ball touch or 300 seconds of total simulation time. That duration changes the sum of the intermediate signals: a high mean reward may reflect more time accumulating shaping rewards rather than more goals.
Origin of the study
- December 2025
Physical control with intermediate signals
The team's first documented version defines the 1v1 environment on RLGym and RocketSim, the two PPO networks and the combination of four rewards. The approach starts from the simulator's physical state and a catalog of controls, instead of learning to extract information from images.
The configuration follows the RLGym training guide.
Scientific scope
The design makes it possible to study how frequent signals steer a policy toward a task. Its biases are concrete: rewarding being in the air can encourage jumping without helping the attack; rewarding approaching the ball can favor chasing it without anticipating its path; rewarding the ball's direction does not assign credit for the last touch. A high must be checked against goals, defense and results against opponents.
The main recording pits two instances of Pivot against each other. This self-play makes it possible to observe the agent's actions against itself. The comparison with Nexto shows a defensive difficulty against a different opponent: Pivot does not intercept the shot that appears in the clip. These are selected plays, with replays of some goals; they do not allow estimating a win rate or average performance.
RocketSim approximates the game, and its differences can accumulate. The 1v1 format also does not evaluate coordination with teammates. The stadium scene on the website is an animated presentation; its flights and goals are not actions of a trained policy or measurements from this study.
The descriptions of DefaultObs, the 90-action table and the RLGym-PPO layers rely on their reference implementations, whereas the network sizes, the eight ticks and the four rewards are defined by the project's code.