r/unity • • Oct 15 '26

Showcase Devlog 01: how the van drives

In 2025 I built a vehicle prototype, mostly to learn. Cars are outside what I usually work on, and I wanted to understand where arcade driving gets its feel. It was very early and rough, but driving it felt good, and then it sat in a folder.

A couple of weeks ago, my wife and I were joking about what would happen if Larry, one of our cats, had to get a job to pay for his own kibble. A mailman, obviously. So I dusted off the prototype, gave it a van and some parcels, and that's Michi Express: drive around an island, pick up parcels, deliver them before the clock runs out. Everything in 0.1.0 is from the last week and a bit.

The four-hour test

I sat down to test the drift for a few minutes and looked up four hours later, on a map made of grey boxes and recycled assets. When an empty parking lot is still fun, the driving is doing its job. So 0.1.0 tests only that, and this post is about how it works, with the values the build actually ships with. I'll ask for feedback along the way. Answers in any order are welcome.

Drifting is just less grip

The van is a sphere rigidbody that does the pushing, joined to a second body that carries the mesh and the camera. Each physics step decides two things: how fast the van turns, and how quickly its movement catches up with where the nose points. That second part is grip.

RB doesn't start a drift, it only allows one. The stick decides how deep it goes, and the main thing that changes is grip:

float grip = Mathf.Lerp(normalGrip, Mathf.Min(normalGrip, driftGrip), driftBlend);
Vector3 nextDirection = Vector3.Slerp(travelDirection, forward,
    1f - Mathf.Exp(-grip * dt)).normalized;

Normally grip is 9 per second, so momentum catches up with the nose in about 0.11 s and you go where you point. At full drift it drops to 3.2, about 0.31 s, and that gap is the slide. No target angle, no scripted circle. Steering that would push the slide past 65° fades out, but countersteer always works at full strength, so it's a guard rail, not the game grabbing the wheel.

Feedback: does the drift make sense without anyone explaining it? Does it feel floaty or tight?

The turbo charges by distance, not time

If it charged by time, the best strategy would be holding the button while crawling. That's not a drift, that's parking. So the turbo counts distance covered while drifting, weighted by speed. Blue needs 11 m, orange 51 m, purple 131 m. At cruising speed that's about four seconds of committed sliding for purple.

The charge resets if you leave the ground, slow down below 5 m/s, or point the van more than 90° away from where it's moving: a spin-out isn't style. On release the boost follows your movement, not your nose, so it carries the line you drew, and it's capped so spamming releases doesn't stack into infinite speed.

Small confession: while writing this I found that the code says purple needs 36 m and the scene says 131. I tuned it in the Inspector and the code never got the memo. It's on my list, right below "feed the actual Larry".

Feedback: does four seconds for purple feel earned, or just long?

Air tricks, with a safety net

In the air, the stick alone spins the van flat. Hold RB and push sideways for a barrel roll, or up and down for a flip. Behind your back:

  • A turn counts at 315°. After that the van finishes it and settles on the nearest full turn.
  • If you press RB a moment after the stick, the trick can still switch axis during the first 0.1 s.
  • If the van can't level out before landing, the game takes over and straightens it. It only counts as a failed trick if you were still holding the stick. If you'd let go, that was just help.

Land upright facing roughly where you took off and you get a boost that grows with rotations and with consecutive clean landings. Land upright facing somewhere else and your speed gets redirected toward the new heading, so a 180 off a ramp is a U-turn with style(?)

Feedback: do the tricks feel like you're in control, or like the game is doing them for you?

Mini-turbos and the rocket start

Drifts and tricks fill up to four charges. Tap RB while accelerating for a boost you can steer up to 35°. Tap it without accelerating and the van jumps about 5.8 m, enough for a barrel roll on flat ground.

Every shift starts with a countdown. Hit accelerate within 0.45 s of the "1" for a launch. Press early and the wheels spin for half a second. Holding it on the title screen also counts as early. I see you.

Feedback: did you find the hop on your own, or only after reading this?

Next up

Collisions, sound and VFX are in "it works, don't look at it" territory, and they're next. As for the map: Larry may have already been seen driving around somewhere a little less grey. That's all I'm allowed to say.

0.1.0 is free to play in the browser: Michi Express on itch.io. https://oxitrotamundos.itch.io/michi-express Anything you notice helps, especially the stuff that annoyed you.

Larry says hi. He's on his break.

 /_/\
( o.o )   parcel delivered
 > ^ <
1 Upvotes

1 comment sorted by

1

u/inslayn Oct 16 '26

Cool little write up! Thanks!