While vertical velocity is negative, this code compares DistanceLeft
and AGL
to control the throttle. When the craft is decellerated enough so vertical velocity is higher than VelocityCritical
, it sets the throttle to 0 and break.
Problem is, even though the break
block is in the if
block, it breaks the code when the condition isn't met.
@AnotherFireFox Okay, thanks for letting me know :)