Id like to get these to work on a rotator for Nose Wheel Steering so that when the Gear is down the steering works and when the gear is up, it doesn't, I've tried:
Yaw & GearDown
clamp(Yaw, -1, 1) & GearDown
abs(Yaw, -1, 1) & GearDown
lerp(-1, 1, Yaw) & GearDown
and them with XXXXXXX & LandingGear
all of these froze the Rotator or gave a "1" output, causing the rotator to go to +1.
What am I missing?
clamp01(GearDown) * Yaw
Thanks, now my plane taxi's straight
Yaw isn't a boolean.. It's a number. That explains the incorrect interaction with the
and
operator.For disabling something when a condition isn't fulfilled, you want to do something I call clamping a boolean. In this context, since we want Yaw input only when GearDown = true, we can simply do
Yaw*clamp01(GearDown)
- to which when GearDown = false, the clamp01() function will output 0, making any input from Yaw multiply out to 0.@WNP78
@SnoWFLakE0s