- Home /
Question by
kilometerbob · Oct 31, 2021 at 02:32 AM ·
physics2dspaceorbit
Calculate Orbit of Player Objedt
I'm attempting to make a 2D space game (Think KSP but 2D) but I've been hung up on the problem of draying the orbit line of a player. I've searched and searched online for answers but cant seem to find any that work. My simulation only uses 2 body physics so calculations shouldn't be that hard.
I only know the position of both objects, the mass of both objects, and the velocity of the player (planet always has 0 velocity due to how the rest of the sim works)
Comment
Your answer
Follow this Question
Related Questions
How to get the Half-Major axis of a 2D collider ? 0 Answers
Natural rotation of orbiting object 3 Answers
Parametric Equation for Elliptical Orbit in Space 0 Answers
Smooth transition for RotateAround 1 Answer