Technical requirements
The technical prerequisites are not a whole lot different in this chapter, but there are some concepts and techniques that may have utility for the topics in this chapter.
Here are some topics to research if you’re feeling lost, overwhelmed by complexity, or having trouble with a particular area:
- Particle System: https://doc.babylonjs.com/divingDeeper/particles
- Torus Set Shape: https://doc.babylonjs.com/divingDeeper/mesh/creation/set/torus
- Torus (maths): https://www.mathsisfun.com/geometry/torus.html
- More torus maths: https://www.geeksforgeeks.org/calculate-volume-and-surface-area-of-torus/
The source code for this chapter is located at https://github.com/jelster/space-truckers/tree/ch7 and contains all the work in this chapter and previous ones. In addition to that, there are several improvements, bug fixes, and tweaks that have been introduced separately from what’s been covered previously in this book. While it...