Hello everybody, thank you all for your help and Ideas you submitted. I’ve found a solution that works pretty well by checking the velocity every 0.2 sec and if it decreases, multiply the acceleration by -1. So kind of that what @PointBreak suggested. But anyway unfortunately this was the completely wrong approach for what I was actually trying to achieve.
But to go into this would completely go beyond the scope now.
I’ll try a view different things over the next view days or weeks and if I don’t get any further, I’ll open up a new Post.
Suffice it to say, the main goal was to make an Algorithm, which automatically lands the craft.
So until then, take care! ;)
@LeMagicBaguette Can you tell me, how to do that correctly? I used this dot function from the math section put the acceleration in the left slot and the velocity in the right one. I displayed the result in comparison to the acceleration variable and I don’t know, what it gave me there, but it’s not nearly the acceleration. And what did you mean with normal? Thanks.
@PointBreak Thanks, I tried that, but this isn’t really working, since the wait command doesn’t seem to function very precisely.
Because I have to divide the Result of v1-v2 by this timespan.
@Toinkove Yes with positive I meant increasing velocity and with negative decreasing. What did you mean with changing direction? Let’s say a Craft is falling straight down to the center of a Planet, accelerating by it’s Gravity. Then I turn the Engines on which acceleration is greater than that Gravity, then the velocity would decrease, but the direction would still stay the same. Ok after it reaches 0, it would accelerate up again and then change it’s direction. But until that point it wouldn’t. Or did I got anything wrong?
Hello everybody, thank you all for your help and Ideas you submitted. I’ve found a solution that works pretty well by checking the velocity every 0.2 sec and if it decreases, multiply the acceleration by -1. So kind of that what @PointBreak suggested. But anyway unfortunately this was the completely wrong approach for what I was actually trying to achieve.
1.8 years agoBut to go into this would completely go beyond the scope now.
I’ll try a view different things over the next view days or weeks and if I don’t get any further, I’ll open up a new Post.
Suffice it to say, the main goal was to make an Algorithm, which automatically lands the craft.
So until then, take care! ;)
@LeMagicBaguette Can you tell me, how to do that correctly? I used this dot function from the math section put the acceleration in the left slot and the velocity in the right one. I displayed the result in comparison to the acceleration variable and I don’t know, what it gave me there, but it’s not nearly the acceleration. And what did you mean with normal? Thanks.
1.8 years ago@PointBreak Thanks, I tried that, but this isn’t really working, since the wait command doesn’t seem to function very precisely.
1.8 years agoBecause I have to divide the Result of v1-v2 by this timespan.
@Toinkove Yes with positive I meant increasing velocity and with negative decreasing. What did you mean with changing direction? Let’s say a Craft is falling straight down to the center of a Planet, accelerating by it’s Gravity. Then I turn the Engines on which acceleration is greater than that Gravity, then the velocity would decrease, but the direction would still stay the same. Ok after it reaches 0, it would accelerate up again and then change it’s direction. But until that point it wouldn’t. Or did I got anything wrong?
1.8 years ago