I’m trying to make a rotator rotate only when I shoot my cannons and stop when I let go. I can’t figure out how to do this. The closest I got I setting the input to FireWeapons but it keeps rotating.
I’m trying to make a rotator rotate only when I shoot my cannons and stop when I let go. I can’t figure out how to do this. The closest I got I setting the input to FireWeapons but it keeps rotating.
@FeistyPapa
Good.
@ArcturusAerospace I plan to use it on a heavy ground attack plane so it shouldn’t be much of an issue
@FeistyPapa
Then you should make the base have more mass than the spinning part.
@ArcturusAerospace I think I tried a similar project like this except I used wing guns. From what I remember, setting the mass scale to 0 does nothing.
@SnoWFLakE0s it’s the latest game version on IOS. I probably screwed something up.
@FeistyPapa
.
I have no idea what you've done wrong, then. It works perfectly for everyone else I know and for myself... I'm not sure if I can help you any more at this point. Game version?
@FeistyPapa
Set the mass on the spinning end to 0.
@SnoWFLakE0s
I have the rotator speed at 2x because any more than that and my test rig flips from the torque. I set the min and max to very low and high numbers if that helps. And the code you just sent me also isn’t working.
@FeistyPapa
.
It is specifically designed not to do that. Have you set the speed high enough? Also, upon further consideration the following code is simpler and should work (works on my end).
smooth(pow(10,10), clamp01(FireWeapons))
Regarding your concern, it is only an relevant application of preexisting concepts. In this case the irreversible boolean activation concept is used without the concept of "activation", merely using the irreversible boolean section of the code.
@SnoWFLakE0s I’m getting a problem with your code. The rotator keeps spinning after I let go of the firing button. I saw your vehicle with the code though. Very nice but it’s not what I’m looking for.
For your reference...
The below is an application of this concept
For more information please visit snowflake0s.github.io
@SnoWFLakE0s Thanks so much!
smooth(FireWeapons*pow(10,10), clamp01(FireWeapons))