Extended Topics
The completed snippet meets the immediate needs of our application, but that doesn’t mean that there aren’t ways to improve it! The following are a few ideas you might pursue on your own that could enhance the scene. Join the BJS and the Space-Truckers community by posting and sharing your snippets over at the Space-Truckers Discussions board (https://github.com/jelster/space-truckers/discussions) or over on the BJS forums (https://forum.babylonjs.com/). The discussion boards and forum aren’t just there to share your accomplishments, however. They’re a place where you can post questions or issues you’re encountering, with a thriving community that loves to help.
You could do the following:
- Remove the helix-like appearance of the planet trails. The spin animation and the trail mesh are both parented to the planet. As the planet rotates, the trail mesh gets twisted around. One approach to fixing this could be to add a TransformNode...