Profile image

Gear door open and close animation

10.3k VisionAviation  2.4 years ago

Hi!

Is there anyway to make a landing gear door, that opens and then also closes in the same animation? If that makes any sense at all? So for example, I want to retract the gear. The door is closed by default, then opens to let the gear slide in and then closes again.

It should be like showed in this video basically: https://www.youtube.com/watch?v=vfGn_1shZAs

Doors open, gear comes in, doors close again. And then the other way around as well obviously for deploying the gear. Doors open, gear comes out, doors close again.

  • Log in to leave a comment
  • Profile image
    13.7k R4FABR

    @PlaneFlightX You literally saved me, man! Thank you!

    +1 2 months ago
  • Profile image

    @PlaneFlightX Thanks a lot, that works perfectly!

    +1 2.4 years ago
  • Profile image
    46.6k PlaneFlightX

    Video here
    The gear codes you are describing are this:
    Gear Doors (Ones which stay open if the gear is down): (ceil(smooth(clamp01(GearDown), GearDown ? pow(10, 10) : 1 / 10.75 ))
    Gear Doors (Open when gear is being retracted or extended): clamp01(abs((40 * abs(smooth((LandingGear - 0.5), 0.09))) - 20))
    Gear (The landing gear): clamp01(smooth((GearDown * -2) , 1.1))

    +4 2.4 years ago
  • Profile image
    46.6k PlaneFlightX

    Ah, easy.
    Build the gear system you described.
    Ensure the speed of the door rotators is 50%.
    I have the codes somewhere, I'll get them in a bit.

    +2 2.4 years ago