logo

Babylon.js Market

By Lawrence

5 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/WingmanFlight2-lesson-2/scene.json:

bjs download scene WingmanFlight2-lesson-2 --all

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

Your tracers pour off the nose and fly right through your target. The round doesn't know the ship is there. The ship doesn't know it got hit. To make a shot land, you need two parts that work in the same coordinate frame. One is a target that knows its own shape. The other is a test that can catch a round moving 480 units a second. And the ship may be rolling at the moment you hit it.

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