Hey y'all, need alittle help. How do you make a rotator decrease its max rotation as the speed increases? I'm working on a build that needs the rotator to have a high rotation when it's slow but very little as it goes faster. I'll be sure to give you credit when the build is complete.
Pitch * (clamp(1 - (IAS / 500), 0.1, 1))
Does this work?
@PlaneFlightX I'll for sure use that
@Skykid028 That's alright. To simplify that code, you could do
clamp(Pitch + Roll, -1, 1) * clamp(1 - (IAS / 500), 0.1, 1)
.@PlaneFlightX I made a small tweak to your code so the elevator will also act like an aileron. Thank you again.
Pitch * (clamp(1 - (IAS / 500), 0.1, 1)) + Roll * (clamp(1 - (IAS / 500), 0.1, 1))
This is some very good code. I'm gonna steal that for my current project if you don't mind @PlaneFlightX
@PlaneFlightX your code is working, thank you. Credit for you when I finish this
@PlaneFlightX thank you and @PlaneFlightX I'll give it a go. Thank you
@Skykid028 Alright, I got an idea of what I need to do then, when I get some time to experiment in SP I'll send the code.
@PlaneFlightX alittle over 1100mph in full afterburner
@Skykid028 What is the top speed of the fighter jet in level flight?
@PlaneFlightX it's for an elevator on a fighter jet, do you know how as a fighter jet goes faster the elevator needs to move less and less? That's what I'm trying to make
I'll need some parameters. What speed do you want it to reach minimum rotation? How much rotation? What input does the rotator have?