By Lawrence
5 minutes
5 minutes
Keep driving past the convoy and the highway runs on forever — that is what a treadmill does. Put water across it at z: 240 and the car has to become something else, or stop.
The river
Append it to entities:
Thirty wide and 160 long, centred at z: 320, so the near bank is at 240 and the far one at 400. Its x: 4.3 is not a round number by accident — that is exactly where the road's centreline sits at z: 320, since 5 · sin(2π · 320 / 240) is 4.33. The river crosses the road square on.
Then the vehicle's half, into Player.components, above Health:
Continue reading
Unlock the Full Course
Every lesson, the runnable examples, and the finished build — yours to keep.
$9one-time
=