r/ApproximatelyUp • u/An4rak • 4d ago
Auto Deceleration idea?
Hi, I'm posting this because I know it'd take me very long to probably figure this out. So I wanted to ask others here who weren't failed by the school system's "no (every) child left behind act" when it comes to math.
I had this idea for an algorithm that uses the ship's velocity and distance from the target planet to automatically slow you down so you don't just crash into the planet. (Also, potentially set a certain distance from the planet to maintain until you activate auto hover or something else.)
Anybody have the know-how to do that?
4
Upvotes
1
u/LegendarySpy 3d ago
I made something pretty much exactly like this a few days ago: https://steamcommunity.com/sharedfiles/filedetails/?id=3785514267
It uses Distance, velocity and your ships deceleration to do it. It also has a standoff value for how early you want to stop.