Can I make a rotator do an open then close sequence by hitting one button, say, landing gear.
The door for my landing gear are in 2 parts and I want the forward facing door to open the make way for the wheel and close again once the landing gear is fully deployed. And when the gear retracts I want it to open again and stay open until the landing gear is folded. I'll try and make a video of manually operating the gear if my explanation is shite.
@PlaneFlightX oh Lord it's called ping pong... Be still my heart lol.
Thanks a ton mate!
Main Gear Doors Code
A code which is simple to modify the timing of, and is 1 whenever landing gear is retracted or extended, otherwise it is 0.
clamp01(pingpong(smooth(clamp01(GearDown) * 2, 0.5), 1) > 0)
Change "0.5" to a smaller number for a longer timing, or a larger number for a shorter timing.
The above is copied directly from a Discord server I'm in (I wrote the code)