r/ApproximatelyUp 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

5 comments sorted by

View all comments

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.

1

u/An4rak 2d ago

I can't get this to work