LEIAPivot
LEIA / REINFORCEMENT LEARNING

Rocket League

Pivot PPO · 1 vs 1

SCROLL

How Pivot plays

A neural network uses the positions and velocities of the ball and cars to decide when to accelerate, turn, jump and use boost. Training rewards approaching the ball, sending it toward the goal and scoring.

Watch the plays
Illustrative scene, not a Pivot match

Pivot 1 vs 1

Kickoffs

Drives at the ball from the kickoff and contests the first touch.

Ball challenges

With an opponent close by, it goes for the next touch.

Shots on goal

Aims the touch toward the opponent’s goal.

Car recovery

Gets back on its wheels and rejoins the play.

Against Nexto

Nexto is a community bot trained with reinforcement learning.

↑ Demo

· car control

Pivot · Rocket League

rocket_league_ppo

Participants · 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.

FIGURE 1 / PHYSICAL STATE → OBSERVATION
  1. BallPosition and velocities
  2. Field and jumpAvailable boost · jump states
  3. Two carsPhysics, orientation and states
  4. One perspectiveInverted and scaled coordinates
DefaultObs produces one vector per player. In the RLGym reference implementation, the 1v1 format totals 92 values: 9 for the ball + 34 boost timers + 9 own jump states + 20 per car. That dimension corresponds to the DefaultObs reference format.

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.

FIGURE 2 / ONE DECISION OVER TIME
  1. PolicyControl probabilities
  2. IndexOne catalog entry
  3. 8 controlsMovement and buttons
  4. 8 ticksPhysics advances and the agent observes again
Purple blocks: parameters adjusted during training.
The catalog and the repetition remain fixed. The policy learns in which state each combination should be selected. The interval is simulation time, not a measured execution speed of training.

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.

FIGURE 3 / TWO NETWORKS, TWO TASKS
ObservationNumerical state per player
Policy π2048 → 2048 → 1024 → 1024
Critic V2048 → 2048 → 1024 → 1024
ProbabilitiesChoose an action from the catalog
One valueEstimate future reward
Purple blocks: parameters adjusted during training.
Both networks receive the same representation, each with its own weights. The policy decides the controls; the critic contributes to learning. The architecture described corresponds to the configured design.

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.

FIGURE 4 / LEARNING CYCLE
  1. 32 environmentsParallel experience
  2. 100,000 stepsCollection target per iteration
  3. PPO ·
  4. New weightsUpdated policy and critic
The configuration uses for both networks and an entropy coefficient of 0.01. The sizes indicate the planned procedure.

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.

Per-step reward defined in the experiment · these weights are configuration
SignalWhat it rewardsWhat it does not require
Being in the air0.0021 when the car is not on the ground; 0 on the ground.Controlling the flight well or touching the ball.
Moving toward the ball0.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 goal0.1Positive 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.
Goal10.0GoalReward: +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.
r = 0.002 · air + 0.01 · approach + 0.1 · ball direction + 10 · goal
FIGURE 5 / MOVING FAST IS NOT ALWAYS GETTING CLOSER
ballcarv · direction to ball

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

Geometric example of the SpeedTowardBallReward function, with velocities expressed as a fraction of the maximum speed. The arrows explain the calculation; they do not represent a recorded trajectory of the model.

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

  1. 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.