Sim vs real differences

Every measured difference from the real game, with evidence.

18 min read

Every difference we measured between RocketSim and the real game, and every behaviour we checked and found to match, with the evidence and how to reproduce it. How captures and comparisons work is in the overview.

Rules:

  • The burden of proof is on us. A difference is listed only when a scenario reproduces it, repeated real captures agree, and the RocketSim history has been checked for an intentional choice.

  • Patches live in vendor/rocketsim. Each one is tagged PHYSLAB PATCH (Pn) and must show an improvement against the real game.

Setup#

  • Game: Rocket League build 261001.2867.529371, Free Play, launched without EAC. BakkesMod 228 with the PhysLab plugin. Car scenarios use an Octane-hitbox car.

  • Simulator: rocketsim 0.2.11 (git 6cf55d3, branch v3-rust), vendored in vendor/rocketsim with patches as listed there.

  • Collision meshes: dumped from the same game build.

  • Captures: run physlab realgame run <scenario> --repeats N. The plugin sets the state in the pre-step hook, Car_TA.SetVehicleInput, replaces the car's input there with the scenario's, and records GetCurrentRBState() once per physics frame. just car-suite does this for a folder of car scenarios.

  • Comparison: run physlab compare <real> <sim>. Samples are aligned by exact tick.

Measurement floor#

Both the game and RocketSim quantize the rigid-body state at the start of every tick, UE3-replication style:

QuantityGridRule
position0.01 uuround half up
linear velocity0.01 uu/struncate toward zero, then add 0.001 away from zero
angular velocity1e-4 rad/struncate toward zero, then add 1e-5 away from zero

The plugin reads the quantized state. RocketSim traces record the state right after the step, before the next tick quantizes it. Even with identical physics, real − sim therefore differs by up to about 0.005 uu and 0.01 uu/s per tick. That difference doesn't accumulate. Errors at that level are measurement, not physics.

Caps work the same way. RocketSim caps car velocity (2300 uu/s) and angular velocity (5.5 rad/s) at the start of each step, together with the quantization. So the state it reports after a step can exceed the caps (for example 2308.25 uu/s, or up to 9.25 rad/s), while the game reports the capped value. Positions and orientations agree; this is reporting order, not physics. A one-tick replay of car captures has to cap and quantize RocketSim's state before comparing.

Use long trajectories. A real physics difference compounds into a clearly different end state, while the measurement floor stays flat.

Or get below the floor. physlab realgame fidelity <real traces...> reproduces the game's per-tick limit and quantization on RocketSim states (sim_runner::fidelity::quantize_ball), so identical physics compares to within one grid step. It reports two views:

  • One-step replay: each real tick is set in RocketSim, stepped once, quantized and compared with the next real tick. Errors can't compound, so every step off by more than one grid step is a single-step physics difference. Steps are grouped by the contact RocketSim reported. Use --list-class curve to see every step of a class with contact normals, depths, closing speeds and effective restitution.

  • Free run, quantized: the whole scenario run, compared tick by tick.

Results over all 37 ball scenarios and 18,900 steps (P1 applied):

Contact during the stepStepsWithin one grid step
none (flight)8,156100%
floor9,779100%
wall79100%
ceiling1100%
ramp, one facet642100%
ramp, two or more facets (incl. ramp + floor/wall)24395.5%

11 steps of 18,900 fall outside one grid step (D2), all touching two or more facets. The tool's summary groups ramp steps by contact class rather than facet count (curve 99.16%, curve+wall 86.67%, curve+floor 100%).

Two details of the tool matter at this level:

  • Rotation is carried between steps. The ball keeps the rotation the previous step left it with. Rotation doesn't change a sphere's physics, but RocketSim's contact manifolds store points in the ball's local frame. Resetting it every step breaks contact persistence: carried points and warm-started impulses. An earlier version of the tool did that. It made 86 multi-facet steps look wrong by up to 67 uu/s, which we wrongly reported as a physics difference (see D2).

  • f32 representation error is discounted. Two adjacent grid values differ by one step plus a few ulps. Without the discount, 6.0 vs 5.9999 rad/s at the spin cap counts as 1.005 steps.

The actor-side readings (GetLocation, GetVelocity, GetAngularVelocity) are not quantized. They lag the physics state by a varying fraction of a tick, from 0.44 ticks at the start of a roll to 0.01 at the end, which looks like render interpolation. They are not more accurate, so --state-source current (the RBState) stays the default.

Known differences#

IDDifferenceStatus
D1Angular velocity quantization grid 50x too fine in RocketSimFixed by P1
D2Multi-facet ramp contacts: first reported as missing bounce suppression, which was a replay-tool artifact. 11 residual steps, mostly at mesh seamsMostly retracted, no patch
D3A car's hitbox hitting the floor exactly flat on a face or edge: the game and RocketSim resolve the contact as mirror imagesOpen, no patch
D4Small boost pads: the game gives boost from about 176 uu, RocketSim from 144 uuConfirmed, candidate patch P2, not vendored

D1: angular velocity quantization grid (fixed by P1)#

What's different. RocketSim computes quantize(ang_vel * BT_TO_UU, 10000) * UU_TO_BT. Angular velocity is rad/s in both unit systems, so this quantizes on a 2e-6 rad/s grid. The game uses 1e-4 rad/s. Spin that is changing lands off the grid each tick and gets truncated toward zero. In the game that costs up to 1e-4 rad/s per tick per spinning axis. In RocketSim it costs 50 times less.

Spin that isn't changing is unaffected, because truncating and re-adding the offset is a fixed point. ball-spin-top, a ball spinning in place, shows no decay in either the game or the sim. The case that matters is rolling: friction changes the spin every tick, and the spin lost to truncation is taken out of the linear velocity by friction. So a rolling ball slows a little faster in the game, and a diagonal roll, with two spinning axes, slows about twice as much extra as an axis-aligned one.

Evidence.

  1. Game readings sit on the 1e-4 grid. All 13,002 nonzero angular velocity components across our real captures are on the 1e-4 grid with the +1e-5 offset. None are on RocketSim's grid. Examples: 6.00001, 4.24261, 1.61861.

  2. Online-match data agrees. In RocketSim's own recordings of real matches (rocketsim_test/recordings), 95–98% of ball angular velocity values are on the 1e-4 grid: Nexto 1v1 166,794/175,056, Wisp 3v3 93,357/95,364. A random value would land on it about 4% of the time. Car values in those recordings are on neither grid, so the car case is indirect (see item 5).

  3. The stress scenarios diverge as predicted. These are 10 s pure rolls at 200 uu/s (2 real captures each, bit-identical):

    ScenarioOriginal RocketSim, end position errorPatched (P1), end position error
    ball-roll-diag-slow-long6.59 uu (velocity 2.18 uu/s)0.017 uu (0.011 uu/s)
    ball-roll-x-slow-long4.61 uu (1.35 uu/s)0.004 uu (0.002 uu/s)

    With the patch, the sim's spin at tick 1200 matches the game's to 1e-4 rad/s: 1.1939 vs 1.1938, where the original sim had 1.2106.

  4. The other ball scenarios improve or hold. Maximum position error vs the real game, over the ball scenarios that don't touch the ramp:

    ScenarioOriginalPatched
    ball-corner0.4050.070
    ball-long-chaotic (15 s)2.483 (diverges >1 uu at tick 1470)0.865 (no divergence)
    ball-roll-diag-5000.6140.007
    ball-roll-x-5000.3970.025
    ball-lob-side-wall0.0270.075
    12 other scenarios≤ 0.05unchanged, ±0.005

    ball-lob-side-wall gets 0.05 uu worse in position but better in velocity: the end velocity error drops from 0.028 to 0.003 uu/s. The patched offset appears during the landing-to-rolling transition (ticks 960–1080) and then stays flat. The original's velocity error keeps growing. Both are at the measurement floor.

  5. RocketSim's own replay benchmark improves. That's rlpr_metric: 5 real matches, 709,990 car-ticks, 120-tick open-loop segments. The pass rate is the share of ticks within tolerance (2 uu, 3 uu/s, 0.05 rad/s):

    CategoryOriginalPatched
    car–ball75.48%78.17%
    car–car56.94%59.55%
    ball–world74.91%75.19%
    chassis–world73.28%73.89%
    wheel–world89.81%90.72%
    no contact93.84%94.40%
    total91.08%91.85%

    The mean normalized error rises slightly (total 3.013 to 3.042). The means are dominated by outlier segments with max norms around 1000. Ball–world max error halves (947 to 493).

Is it intentional? We found nothing suggesting so:

  • The ang_vel * BT_TO_UU scaling arrived with the first quantization commit (4c8bd9f, ZealanL, 2026-06-22, "Add quantization replication, rework jumping logic somewhat, update comparison testing... (WIP)").

  • It was moved unchanged in fc61e1f ("Extract rigid body quantization", VirxEC, 2026-07-22).

  • bac6ebf ("Match UE3 position quantization") and its unit tests corrected only position rounding.

  • No upstream issue, PR or test covers the angular grid, and origin/v3-rust has nothing newer than 6cf55d3.

  • The position and linear velocity paths scale by BT_TO_UU because those quantities are in Bullet units. Angular velocity isn't, so the same pattern looks copied.

  • C++ RocketSim v2 (main) doesn't quantize state at all.

Worth reporting upstream with this evidence.

Reproduce.

sh
physlab run scenarios/ball/ball-roll-diag-slow-long.json
physlab realgame run scenarios/ball/ball-roll-diag-slow-long.json --repeats 2
physlab compare recordings/ball-roll-diag-slow-long.real-game.<session>-r00.jsonl \
                recordings/ball-roll-diag-slow-long.rocketsim.jsonl

To see the unpatched behaviour, comment out the [patch.crates-io] line in Cargo.toml and run again.

D2: multi-facet ramp contacts (mostly retracted; 11 residual steps)#

Correction. We first reported that on the curved floor-to-wall ramp the game "suppresses the bounce" when the ball touches two or more facets: 86 one-step mismatches of up to 67 uu/s. That was an artifact of our replay tool. It reset the ball's rotation to identity before every step, which breaks RocketSim's contact persistence (manifold points are stored in the ball's frame). With the rotation carried over, as in a continuous run, those steps match. No RocketSim change was involved.

ReplayCurve steps consistentWorst step
rotation reset every step (old tool)91.38%67.4 uu/s
rotation carried (current tool)99.16%31.8 uu/s

Every alternative merge rule we tried earlier (deepest, shallowest, fastest- or slowest-closing, first or last sample, depth- or speed-weighted means, no bounce on differing facets, bounce from one sample, the pre-cleanup solver 8d7a217^) scored worse than RocketSim's plain mean even under the broken replay. So RocketSim's ball–world merging (bae5057, 8d7a217) stands.

Old-Bullet contact-age rule: tested, rejected. Bullet up to 2.80 (btSequentialImpulseConstraintSolver.cpp before 84b1774, 2012-08) zeroes restitution for any contact point whose lifetime exceeds m_restingContactRestitutionThreshold (2 ticks). The lifetime increments on every manifold refresh and is inherited when a point is replaced. 2.81 dropped the rule, and RocketSim has no lifetime at all. We added lifetime to a scratch copy of the vendored manifold and applied the rule to the merged ball contact in three forms. All are worse, so Rocket League evidently doesn't apply it to the ball:

Rule (rotation carried)CurveCurve + wallWall
none (RocketSim as is)99.16%86.67%100%
per-sample restitution 0 when older than 2 ticks, then mean94.73%63.33%96.20%
restitution 0 if any sample is older than 2 ticks94.73%63.33%96.20%
restitution 0 if all samples are older than 2 ticks98.68%86.67%100%

What's left. 11 steps, all with contacts on two or more facets:

  • ball-ramp-roll-angled-1500 t202–t204 (31.8, 5.3 and 14.2 uu/s). The ball crosses the mesh seam at y = 0, and one contact has an off-facet normal (y component −0.064). RocketSim smooths normals at internal triangle edges (internal_edge_utility), but only within one mesh. The 16 arena meshes are separate shapes, so seams between them aren't smoothed. That probably holds in the game too, since the meshes were dumped from it, and one scenario isn't enough to say more.

  • ball-ramp-sweep-900 t230–t263 and ball-ramp-sweep-off-800 t260 (2–14 uu/s). These steps merge 6–11 manifold points, some carried from earlier ticks, at facet boundaries. Small differences in which points survive change the averaged normal.

Status: no patch. Nothing here meets the evidence bar.

D3: symmetric hitbox contacts (open, no patch)#

What's different. When a face or an edge of the car's hitbox hits the floor exactly flat, two or four corners touch at the same instant. The game and RocketSim then resolve the contact as mirror images in the car's local Y: for example sideways velocity +76.34 vs −76.35 uu/s, with angular velocity x and z flipped. After the impact the runs drift apart by up to about 110 uu.

Evidence.

  1. Four scenarios show it: car-fall-nose-300, car-fall-side-300 and car-fall-roof-300 land flat on a face, and car-fall-nose-edge-300 (pitch −1.4, no roll) lands flat on the nose's bottom edge.

  2. Repeats are bit-identical in both the game and RocketSim, so it isn't noise.

  3. Yaw doesn't matter. Tilting the car so a single corner lands first makes them match to within 0.03 uu through impact and tumbling (car-fall-tilted-300, car-fall-corner-300, car-fall-nose-corner-300, and roof and side falls with a small tilt).

Hypothesis (unverified). The game may run Bullet in a Y-flipped internal frame (Unreal is left-handed). That would change only the solver's tie-breaks, which decide the outcome only when contacts are exactly symmetric.

Impact. Only exactly symmetric contacts.

Status: no patch. Investigate further only if it matters for training.

Reproduce.

sh
just car-suite 3 "car-fall-nose-*"   # sim trace, 3 real captures and comparisons each

D4: small boost pad pickup radius (candidate patch P2)#

What's different. A car picks up a pad when its origin is within the pad's radius, measured horizontally (and within 95 uu in height). RocketSim uses 144 uu for small pads (boost_pads::CYL_RAD_SMALL). In the game it's about 176 uu. Big pads (208 uu) match.

So a car passing 144–176 uu from a small pad gets 12 boost in the game and nothing in RocketSim, and a car driving over one gets it a few ticks later in RocketSim than in the game.

Evidence.

  1. RocketSim's replay benchmark (5 real matches). RocketSim picks up a pad on the same tick as the game for only 1% of small-pad pickups, and 11.7% of all pickups. The car origin's distance to the pad at the game's pickup ticks fits a radius of about 176 uu. The fit doesn't depend on the car body or the height, and the pad positions are right.

  2. Controlled real-game captures. car-pad-* scenarios drive a car with 20 boost past a pad at 1000 uu/s, at a fixed sideways offset, or straight over it at 600–2000 uu/s. 2 captures each. Ticks are when boost goes up:

    Small pad at (0, 1024)GameRocketSim (144)RocketSim with 176
    head-on at 600 / 1000 / 1400 / 2000 uu/s51 51 / 37 37 / 28 29 / 20 2054 / 40 / 31 / 2250 / 37 / 28 / 20
    offset 150 / 160 / 166 uu56 56 / 57 57 / 59 59none55 / 57 / 59
    offset 170 / 172 / 174 uu60 60 / 61 61 / 62 62none60 / 61 / 62
    offset 176 uu (closest approach 176.02)none, 64nonenone
    offset 178 / 180 / 184 / 190 uunonenonenone
    Big pad at (3584, 0)GameRocketSim (208)
    head-on at 1000 / 2000 uu/s33 33 / 18 18 1933 / 18
    offset 190 / 196 / 200 uu56 56 / 58 58 / 59 5956 / 57 / 59
    offset 204 / 206 uu60 60 / 62 6260 / 61
    offset 208 / 210 / 214 uunonenone
  3. The replay benchmark improves with 176, in every category. Segment mode, P1 applied:

    RocketSim (144)Small radius 176
    pickups on the same tick as the game11.7%43.3%
    boost within 0.5 of the game's97.28%98.94%
    car–ball78.17%78.25%
    car–car59.55%59.55%
    ball–world75.19%75.80%
    chassis–world73.89%74.10%
    wheel–world90.72%91.30%
    no contact94.40%94.50%
    total91.85%92.24%

    Every one of the 5 recordings improves (Daizen 80.89 → 81.12%, Nexto 94.00 → 94.35%, PartyCannon 91.42 → 92.36%, Veai 94.51 → 94.75%, Wisp 94.58 → 94.71%). Physics improves because the sim now has the boost the game had when a car boosts from a nearly empty tank.

The timing isn't fully deterministic. Some game pickups come one tick later than a plain 176 uu check on the state after the step: big offsets 196 and 206, small head-on at 600 and offset 150. A check on a position slightly behind that state fits them: about 0.3 tick for these captures, about 0.6 tick for the replay benchmark. The pickup tick also changes between bit-identical repeats (big head-on at 2000: 18, 18, 19; small head-on at 1400: 28, 29), so it depends on something outside the physics state, probably render-frame timing. Modelling the lag raises same-tick pickups in the replay benchmark to about 70% but adds almost nothing to the physics total (92.43% at 0.5 tick) and costs 6 car–car ticks, so P2 would change only the radius.

Is it intentional? No sign of it. The radii arrived with the first boost pad commit (7e64819, ZealanL, 2023-02-15), commented "Mostly from a Rocket Science video", and haven't changed since. 26c48d3 (2026-10-04) fixed only the pad's bounding box.

Status: confirmed; candidate patch P2, not vendored yet.

Reproduce.

sh
just car-suite 2 "car-pad-small-*"   # sim trace, 2 real captures and comparisons each
just car-suite 2 "car-pad-big-*"

Compare when the car's boost goes up. The plugin's teleport hop (physlab_car_hop_z) must be on, or the car collects the pad while the game moves it to the start.

Checked and matching#

These match the game in the scenarios listed. The ball rows are at the measurement floor.

Ball#

BehaviourScenariosResult
Gravity, linear drag in flightdrop-high-1800, lob-side-wall, ceiling≤ 0.035 uu over 7.5–10 s
Floor bounces (restitution, timing)drop-center-500, drop-high-1800same contact ticks, ≤ 0.025 uu
Wall, ceiling, corner contactslob-side-wall, ceiling, wall-glance, cornersame first-contact ticks
Spin–floor friction, handednessspin-floorbackspin carries the ball toward +X in both (625.5 vs 625.51 uu at tick 600)
Identity frame conversion, balllong-chaoticspin on all three axes, matching for ~1000 ticks
Spin cap of 6 rad/sroll-x-1000/2000, roll-diag-1000/2000both clamp before the step. RocketSim traces show up to 6.05 because they record after the step. Physics matches to ≤ 0.015 uu.
Sliding-to-rolling transitionroll-x-1000/2000, roll-diag-1000/2000≤ 0.015 uu
Rest heightallgame 93.14 vs sim 93.15 (rounded). The game's resting z is just below 93.145, still within the floor.
Repeatabilityallevery real repeat bit-identical

Cars#

Maximum position error over the whole run, 1–3 real captures per scenario. Every real repeat is bit-identical.

BehaviourScenariosResult
Free fall, air control (none, pitch, half pitch, yaw, roll, all three)car-air-*≤ 0.006 uu (the floor)
Wheels-down falls, landing detectioncar-fall-wheels-100/300/1000≤ 0.006 uu, landings on the same tick
Jumps: tap, held 3/10/24/40 ticks, double jumpcar-jump-*, car-double-jump≤ 0.006 uu, landings on the same tick
Driving and boostcar-throttle-, car-boost-≤ 0.025 uu over up to 4 s
Steering, powerslidecar-steer-*, car-powerslide-medium≤ 0.09 uu; car-steer-fast 0.5 uu
Single-corner fallscar-fall-tilted-300, car-fall-corner-300, car-fall-nose-corner-300≤ 0.03 uu through impact and tumbling
Car–ball impactsall 8 cb01–cb03car ≤ 0.043 uu, ball ≤ 0.023 uu
Front, back, side and moving front flipsa02-*-flip≤ 0.034 uu, orientation within 4e-4 rad, landings on the same tick
Flip-reset setupa02-flip-reset-setupcar 0.016 uu, ball 0.006 uu, landing on tick 81 in both
Orientation, input signsabout 45 car scenariossee Coordinate systems

Harness setup#

Things the harness had to get right before car runs could match. None of them is a physics difference.

ItemFindingResult
Wheel contacts after a teleport (game)The game keeps the car's old wheel contacts for one step, so a car set in mid-air got the on-ground sticky force: 2.704 uu/s off in car-air-noneThe plugin's settling frame fixes it: 0.005 uu, 0.0067 uu/s
Sticky-force gate after a teleport (RocketSim)Our runner's teleport cleared the gate, so a car at rest on the floor got no sticky force on its first step: +2.7 uu/s upward, every jump 2.5–5 uu offsetup::seed_sticky_gates seeds it from the pose; jumps match at the floor. The training environment resets the same way
Controller settingsThe game scales input by the player's aerial and steering sensitivity and dodge deadzoneThe plugin uses RocketSim's (1, 1, 0.5) during a run; car-air-pitch-half matches
Dodge directionThe game dodges along its own direction fieldsFilled from the stick (forward = -pitch, strafe = yaw); flips match
Analog input gridThe game stores input on an 8-bit grid (0.5 → 0.5039)Same as RocketSim
Caps after a stepRocketSim reports its state before the next step's caps (2308.25 uu/s, up to 9.25 rad/s)Reporting order only (Measurement floor)
Boost pads during a teleport (game)After the plugin sets the car's state, the game moves the car along the straight line from its old position, and pads on that line give boost and go on cooldownThe plugin lifts the car to z = 1800 and across before setting the start state (physlab_car_hop_z); car captures are unchanged

Next#

  • D2 residue: only if it matters for training. Possible steps: a few more angled seam crossings, to test whether seam contacts differ systematically.

  • One-tick replay of car captures, capping and quantizing RocketSim's state before comparing.

  • Car–ball touches: detect them in real captures. Today matching ball states are the evidence.

  • P1 for cars: confirm the 1e-4 rad/s grid on car angular velocity directly.

  • Car–car: needs a second car (a local match or bots, still to check).

  • D3: only if it matters for training.

  • D4: vendor the radius as P2, coordinated with the training environment's exported-episode replay tests.