XR-Drive · VR driving simulator

Race AI cars that taught themselves to drive

XR-Drive is an immersive driving simulator for VR. Put on the headset and you sit in the cockpit, with AI drivers around you that were trained with reinforcement learning on real physics.

The XR experience

Put on the headset. You are in the car.

XR-Drive is made for VR. With a headset on, the cockpit is around you: look left at the car beside you, down at the dashboard, ahead into the next corner. You feel the speed and the size of the track as if you were really sitting in the car, not watching it on a flat screen.

  • Look around freelyHead tracking lets you check your mirrors, your rivals and the apex.
  • Real scale, real depthTwo eyes, two views: distance and speed are felt in 3D.
  • Meta Quest 2 and 3Built for standalone VR headsets.
Look around
Stereo viewHead tracking
About

A race you can feel

Most racing games script their opponents. In XR-Drive the opponents learn. Each AI car has been trained to find its own racing line, defend a position and make an overtake, so no two races play out the same way.

The cockpit view puts you inside the car, with the track, the other cars and the dashboard in front of you. It is built as an Unreal Engine project and made for immersive hardware as well as the screen.

Immersive drive

Race from the driver's seat with a full cockpit view of the track and the cars around you.

Learning opponents

AI cars that learned to race through practice, not through a script.

Real physics

Grip, weight and momentum decide every corner, for you and for the AI.

Inside XR-Drive

The simulator at a glance

Four moments from the simulator that show how XR-Drive works, from the driver's seat to the AI on the track.

Cockpit view of the XR-Drive car with the wheel display and the track ahead Track ahead
01 · Driver's seat

You are in the cockpit

You race from inside the car, with the wheel, the dashboard and the track in front of you.

Player car approaching an AI car on a lit circuit AI opponent
02 · Opponents

Rivals that drive themselves

The other cars are driven by trained AI, not by a scripted path.

AI car driving along the circuit behind the barrier Trained driver
03 · Learning

Practice, not scripts

Through many laps the AI finds its own racing line and learns to defend it.

Car taking a corner of the circuit Grip and weight
04 · Physics

Every corner has limits

Grip, weight and momentum decide how fast a car can go, for you and for the AI.

Reinforcement learning

How the AI learns to race

Reinforcement learning teaches by practice. The AI driver, called the agent, tries things on the track and gets feedback on how well they worked. Nobody tells it how to drive.

AI learns to driveA trained agent racing a wet circuit in Unreal Engine 5

What learning looks like

Early on the car crashes and loses time. Over many thousands of attempts the results climb, then level off as the driving gets smooth and consistent.

Illustration of a typical training run
Individual attemptsAverage performance

From the first lap to a real opponent

  1. Learn to stay on track

    The agent starts with no knowledge. It is rewarded for moving forward and staying on the circuit, and it learns the basics of steering, throttle and braking.

  2. Learn to go fast

    Rewards shift toward speed and clean laps. The AI finds racing lines, brakes later and carries more speed through corners.

  3. Learn to race other cars

    With other cars on the track, the AI learns to follow, defend and overtake without contact.

  4. Drive against you

    The trained driver joins the simulation as an opponent, and you race it in the cockpit.

Physics

Why real physics matters

An AI can only learn skills that carry over to the track it drives on. Because XR-Drive simulates real vehicle physics, the AI has to deal with the same limits you do: tyres that run out of grip, weight that shifts under braking and momentum that is hard to shed.

That is why the cars feel believable. They are not following a recording. They are driving, and they make the same trade-offs a human driver would.

FAQ

Questions

What is reinforcement learning?

It is a way of training AI through trial and error. The AI takes actions, receives a reward when they work, and gradually learns which actions lead to the best results.

Are the AI cars scripted?

No. Their driving comes from a trained model, not a fixed path, so they react to what happens on the track.

Who makes XR-Drive?

XR-Drive is built by XR Dynamics Lab as an Unreal Engine project.