logo

Babylon.js Market

By Lawrence

6 minutes

Catching up?

Dropping in at this lesson? One command reinstalls the library components the build uses so far and writes the scene as it stood at the end of the previous lesson to public/scenes/VehicleCombat-lesson-10/scene.json:

bjs download scene VehicleCombat-lesson-10 --all

The scene you are caught up to at the start of this lesson, rendered from the full asset download.

Copy that scene.json over your src/scenes/vehiclecombat.json and you are caught up to the start of this lesson.

Nine lessons in, you have a road, a car that drifts, hostiles that damage you on contact, and a convoy. Drive it and something is still wrong, and it is the thing lesson three warned you about:

Nothing in this scene listens for that yet, so a blue car stands exactly where the pool put it.

Every other car on this road is parked. RoadSpawner picks a lane and a speed for each one, Pool hands that speed through on pool.acquired, and no system has ever read it. You have been weaving through a scrapyard.

Continue reading

Unlock the Full Course

Every lesson, the runnable examples, and the finished build — yours to keep.

$9one-time

Was this page helpful?

We read every note — tell us what's working and what isn't.

↑↓ NavigateEnter SelectEsc CloseCtrl+K Open Search