3D Car Sandbox: Drive on the Moon, Mars and a Test Track with Real Physics

A free 3D driving sandbox with real physics: drive 19 vehicles (sports, family and muscle cars, a race car, police car, taxi, limo, ambulance, fire truck, bus, monster truck, buggy, lunar rover ...) across 2.4 km worlds: an Earth test track with mountains, the Moon, Mars or Ceres, fly a light plane or a stunt jet off the runway, jump ramps, loop the loop, crash into computer cars and knock over crates, walls, dominoes and watermelons, and change gravity from zero to the Sun's.

Loading…
Gravity
Felt1.0 gpeak0 g
Damage0%
0km/h
How to drive
  • W A S D or the arrow keys · S at a stop = reverse
  • Space handbrake (drift) · Shift boost
  • R back on your wheels · X 🔧 repair · T ⟲ restart at the start · C camera · Tab drive another car
  • Laps are timed on the track: cross the chequered line, keep to the track, sector times show how you compare with your best, and a see-through ghost car drives your best lap
  • Flip or roll in the air and land on your wheels for a stunt
  • 🚗 Cars (top right): how many computer cars and what they do (drive around, chase and ram you, or park) · drag the round map anywhere on the picture (⌂ puts it back)
  • B map editor: place ramps, loops, springs, launch pads, boost strips and draw your own roads · L fire a launch pad · [ ] slower / faster game
  • Y instant replay of the last 12 s · N night / day · K weather
  • G flip gravity · O drop a random object · H horn · M sound · P pause
  • ✈ J jump into a plane · easy flying: hold W to take off, A D turn, W / S climb / dive, let go = level flight, Shift / Z faster / slower · R in the air = wings level
  • Stuck or upside down? Press R or ↺ Reset (it also flips back by itself after a few seconds)
  • Drag the picture to look around: the camera drifts back behind the car by itself (or double-click) · a game controller works too
Gravity
m/s²

Time of day

Drag through sunrise and sunset to see the sun move, the sky change colour and the shadows grow. At dusk the lamp posts and headlights switch on.

✈ Fly a plane
◎ Fly through rings

Glowing rings hang over the world: fly through them in order. The clock starts at the first ring; every missed ring adds 5 seconds. Each ring is worth 100 points, up to 100 more for going through the middle and 50 extra for a bullseye, and rings in a row build a combo (up to ×3). A gold box shows the next ring, or an arrow at the edge when it is off screen; the dashed line runs through the next few. Your best run on each course comes back as a see-through ghost. T flies the course again. Online, the host can start a ring race (✈ button or the 🌐 box): everyone gets the same course and lines up behind the first ring for a countdown; each clock starts at your own first ring, and the race board shows who is ahead. Everything about planes is also under the ✈ Fly button on the picture.

⚔️ Dogfight

Everyone against everyone in the air. Fire with Space or I (gamepad: B, touch: 🔥 Fire). Fly behind a plane and put the gun cross on the green dot in front of it: that is where your bullets meet it. About ten hits bring a plane down; it spirals in and comes back in the air a few seconds later. Holding the trigger too long overheats the guns. Online, the host starts a dogfight from the 🌐 Online box and everyone in the room flies.

Easy flying (the default): press Take off or hold W / ↑, then steer with A / D (or the stick left / right) and climb or dive with W / S (stick up / down). Let go and the plane levels its wings and holds its height; it won't stall and it flares by itself before touching down, so to land just dive gently at the runway. Shift / Z = faster / slower. Realistic: you work the elevator, ailerons, rudder, throttle and flaps yourself. How to take off then: flaps at T/O (V), full throttle (hold Shift), and at lift-off speed pull back gently (S). Lift grows with the square of the air speed, with the air's density and with the wing's angle; push the angle past about 15° and the airflow breaks away from the wing: a stall. Land at a slow sink rate, under 2.5 m/s, for a good landing.

🌐 Online with friends

Make a room and send the link (or the 6-letter code) to up to 7 friends. Everyone drives on the host's world, gravity and map, sees the others' cars and planes with their names, can bump into them and chat (Enter). On a lap circuit the host can start a race: a countdown on the grid, then everyone's lap times. Each browser runs its own physics and computer cars, so crates and computer cars are only on your own screen. No account and no relay server: the cars talk straight to each other, which some strict networks block.

Other cars
Paint
Map & track builder
Place in front of the car

In the editor: drag pieces, turn them, change their size, draw roads and closed circuits (laps are timed on a circuit when the test-track oval is switched off), and copy a link to share your map. Each world keeps its own map in this browser.

Drop things in front of the car
Set-ups
Car & view
Show on screen
Your records

A free 3D car sandbox with real physics

Drive a sports car, SUV, pickup, bus, monster truck, dune buggy, go-kart or lunar rover around an Earth test track, across the craters of the Moon, over the dunes of Mars or on the dwarf planet Ceres. Fly off ramps, loop the loop, ride the half pipe, crash into the computer cars and knock over crate pyramids, brick walls, dominoes, bowling pins and watermelons. Change gravity at any time, from zero to the Sun's, or flip it upside down for a few seconds.

Curious what is going on under the bonnet? MES How a Car Works explains the engine, gearbox, differential, brakes, steering and suspension one system at a time, with moving drawings.

What is really simulated

Every car is a rigid body with four suspension springs, and every loose object has its own mass, friction and bounce (the physics engine is Rapier, running in your browser). Two things make the worlds feel different, and both are real physics:

  • Grip comes from weight. A tyre can only push sideways or brake with a force of about its friction coefficient times the load on it. On the Moon a car weighs one sixth of what it does on Earth, so it brakes and corners six times more weakly: stopping from 100 km/h takes about 39 m on Earth and about 240 m on the Moon. Astronauts drove the Apollo rovers at about 10 to 15 km/h for exactly this reason.
  • Jumps scale with 1 / g. Leave a ramp at the same speed and angle and you fly six times as far and six times as long on the Moon, and 35 times as far on Ceres. The dust thrown up by the wheels follows the same arcs, and on airless worlds it falls straight back without drifting.

There is also air drag (none on the Moon and Ceres, very little on Mars), rolling resistance, a tapering engine force, and crashes: when a car's velocity changes much faster than gravity and its springs could do it, that is an impact. The felt g-force is shown, the body dents where it was hit, and the engine gets weaker as the damage goes up.

Flying a plane

Pick the light plane or the stunt jet under Vehicle, or press J. The test-track worlds have a 470 m runway north of the oval; any long flat road works too. The flight model is simple but honest: lift grows with the air's density, the wing area, the square of the air speed and the angle at which the wing meets the air, up to about 15 degrees; past that the airflow breaks away from the top of the wing and the plane stalls. Drag has two parts, the plain push of the air and the induced drag that comes with making lift (that is why a plane flying slowly needs more power, not less). Ailerons roll it, the elevator pitches it, the rudder yaws it, flaps give more lift and more drag so it can fly slower, and the plane is stable on its own: let go and it settles into a gentle climb or descent. A touchdown is graded by how fast you were sinking: under 2.5 m/s is a good landing.

The worlds make the lesson: on the Moon and Ceres there is no air, so the wings lift nothing and the control surfaces do nothing. Mars has about 1.6% of Earth's air, so the light plane would need over 400 km/h to lift off. At Jupiter's gravity the light plane is too heavy to fly at all, while the jet, with ten times the push, still can. (A real propeller or jet engine needs air too; in this sandbox the engine keeps pushing so you can feel what the wings do.)

Playing online with friends

Press 🌐 Online on the picture, type your name and make a room, then send your friends the link (or the 6-letter code). Up to 8 people can drive together on the host's world, gravity and map. Each browser runs its own physics and sends its car's position about 15 times a second straight to the others (WebRTC, no game server in between), so other players' cars glide smoothly, carry name tags, and you can bump into them. Chat with Enter. On a lap circuit the host can start a race: everyone is put on the grid, a countdown runs, and the board shows everyone's laps and finishing times. Computer cars and loose objects are separate on each screen. Some strict school, work and mobile networks block direct connections between browsers; then joining fails, because there is no relay server.

Questions

Why does the car slide so much on the Moon?
Because friction is proportional to the force pressing the tyres down, and that force is the car's weight. Less gravity means less weight, so less grip, while the car's mass (its resistance to changing direction) is the same.
What happens at zero gravity?
Nothing holds the tyres on the ground, so there is no grip at all: the engine can't push and the car just keeps drifting. Bump an object and it floats away in a straight line forever.
Is the Jupiter world real?
No: Jupiter has no solid surface. That world is an imaginary flat surface with Jupiter's gravity (24.8 m/s²), so you can feel how heavy everything gets. The suspension squashes, jumps are short and crashes hurt.
Does it work on a phone?
Yes. Touch buttons appear on touch screens (steer on the left, pedals on the right), and "Fill window" makes the picture fill the screen. A game controller (gamepad) works on computers.
How do the lap timer and the ghost work?
On the test track, crossing the chequered line starts the timer. A lap only counts if you go round all four quarters in order. Your best lap is kept for each car and gravity, and a see-through ghost car replays it while you drive, so you can see exactly where you gain or lose time.
Does the weather change how the car drives?
Yes. A wet road gives the tyres about 70% of their dry grip, a thunderstorm about 60% and packed snow only about a third, so you need much more room to stop and must take bends slower. The stopping distance shown under the gravity controls includes it. The Moon and Ceres have no air, so they have no weather at all.
Can I watch a crash again?
Yes: the last 12 seconds of every car and object are always kept. Press Y (or the 🎬 button) for an instant replay with TV cameras, a chase camera or an orbit you can drag, in slow motion if you like, and drag the bar to any moment.
How does the time of day work?
Pick any hour with the slider, or press "Run the day" and choose how long a whole day takes (from 2 minutes to real time). The sun rises at 6:00, is highest at noon and sets at 18:00; low sun gives long shadows and an orange sky, and on Mars the sunset glows blue, as photographed by NASA’s rovers. On the real Moon a day lasts about 29.5 Earth days.
What does night driving change?
The sun goes down, stars come out, the lamp posts along the track glow and your car’s headlights light the road. On the Moon the only light left is earthshine (sunlight reflected off the Earth), so the headlights matter a lot.
Can I build my own track?
Yes. Press B (or ✎ on the map) to open the map editor: add springs that throw the car straight up, launch pads that fire when you press L, boost strips, kickers, ramps up to a 30 m mega ramp, gap jumps, table tops, bumps, loops, half pipes, banked walls, blocks and platforms, drag and turn them, change their size, and draw roads. Close a road into a circuit and switch the oval off, and your laps on it are timed, with a ghost of your best lap. "Copy a link to this map" shares the whole layout.
The game feels slow. Can I speed it up?
Two settings: Game speed runs time faster or slower (from ¼× slow motion to 3×), and Cars picks Realistic (the real engine and tyre numbers), Lively (more power and grip, the default) or Arcade. Press [ and ] while driving to change the game speed.
Is anything saved or uploaded?
Only your settings, records and best-lap ghosts, in your own browser. Nothing is uploaded.
Comments
Advertisement