Notifications
Clear all

[Closed] Helicopter Blade Rotation

Hi guys,

I’m looking for some help with an expression I’m trying to write. This is definitely not my strength but I need to control the rotation speed of a helicopter blade based on a custom attribute. I need the rotation speed to start gradual and ramp up to full speed.

The expression I’m using is SSpeed360*pi/180 with “Speed” being the value of the custom attribute spinner. This works really well until the spinner maxes out and then the blades slow down considerably. I’m pretty sure this is because the rotational value is compounding and the change in value before the spinner stops is greater than the change in value after this spinner stops. I can illustrate this in the following way:

Spinner Value Frames Product Change
1 30 30 30
2 60 120 90
3 90 270 150
4 120 480 210
4 150 600 120
4 180 720 120
4 210 840 120

You can see that the change in value ramps up to 210 and then drops back down to 120. I need the change to stay a steady 210 in order for the rotation to be constant once the spinner stops. The spinner value of 4 is arbitrary.

Any help you can offer is greatly appreciated. This is definitely out of my comfort zone.

Respectfully,

John

1 Reply

I might be missing somethign obvious here, but can you not just put an if statement in for if speed is over a cretain amount so it clamps it?