EN:
Ah, sorry, I misunderstood your point at first – kind of showing off in front of an expert. What you said makes perfect sense, in real life designers really do have to balance between performance and longevity, and that’s what makes it so fascinating.
最后,你可以在外面套一个布尔判断,当寿命降到 0 时关闭发动机。或者你也可以加一个非线性函数,让输出(油门)随着寿命的降低而动态变化。
EN:This can already be achieved in SimplePlanes 1. By using
[your set lifespan value – sum(power constant * throttle input axis)],
you get a value that starts from the lifespan and decreases at a variable rate depending on the throttle input and power. The deeper you push the throttle and the higher the power setting, the faster the lifespan is reduced.
Finally, you can wrap this in a Boolean to shut off the engine once the lifespan drops to zero. Or you can add a nonlinear function so that the output (throttle) dynamically changes as the lifespan decreases.
@DDVC CH:
啊,不好意思,我一开始理解错了你的意思,有点班门弄斧了。你说得非常有道理,现实中设计师确实需要在性能和寿命之间做取舍,这才是真正有趣和值得思考的地方。
EN:
Ah, sorry, I misunderstood your point at first – kind of showing off in front of an expert. What you said makes perfect sense, in real life designers really do have to balance between performance and longevity, and that’s what makes it so fascinating.
@DDVC CH:这在《SimplePlanes 1》里已经可以实现。通过使用
[你设定的寿命值 – sum(功率常数 * 油门输入轴)],
你会得到一个从寿命值开始的数值,并根据油门输入和功率大小以不同速率下降。油门踩得越深,功率设定越高,寿命减少得就越快。
最后,你可以在外面套一个布尔判断,当寿命降到 0 时关闭发动机。或者你也可以加一个非线性函数,让输出(油门)随着寿命的降低而动态变化。
EN:This can already be achieved in SimplePlanes 1. By using
[your set lifespan value – sum(power constant * throttle input axis)],
you get a value that starts from the lifespan and decreases at a variable rate depending on the throttle input and power. The deeper you push the throttle and the higher the power setting, the faster the lifespan is reduced.
Finally, you can wrap this in a Boolean to shut off the engine once the lifespan drops to zero. Or you can add a nonlinear function so that the output (throttle) dynamically changes as the lifespan decreases.
+1CH:funkytree还在使用吗?能否添加球面线性插值函数.
EN:Is Funkytree still being used? Could you add a spherical linear interpolation (slerp) function?
"Rough prototype. Use button AG1 to launch the missile. The cannon is only used to provide the aiming line."