Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 645

Auto landing script help

$
0
0
Hello dears engineers !

I am trying to make an auto landing script for every ship with any kind of thrusters.

But I have some question about it,
I use this formula :
DistanceToStop = CurrentVelocity^2 /
2*averageAcceleration.

Atmospheric thrusters doesn’t have a constant thrust, it’s change by the altitude. And it’s linear.

So my acceleration is an average between the stop altitude and the current altitude.

It’s should work, and it almost, but more the ship is heavy and have thrusters...

Auto landing script help

Viewing all articles
Browse latest Browse all 645

Trending Articles