I’m working on a game for my programming class and I came across a topic that I honestly don’t know how to approach. You all know the game Gravitee by FunkyPear right? well my game is in a solar system with planets much like the ones in Gravitee, and you fly around in a ship, defending your planet from alien invaders. I wanted to add a trajectory line for your ship, and the bullets that are being fired, but I don’t know how to draw this line on the screen/calculate it. Any help is greatly appreciated.