Profile image

Funky Trees Questions

4,051 CrazyPenguin1306  2 days ago

Hey yall, its been a minute since I used FTs and I am attempting to get my cockpit canopy to function where it goes up, and then tilts back and vice versa on the way back down. I cant seem to remember the coding nor can I find any forums or posts that tell me that code again. it was something along the lines of 'clamp01(smooth---' I dont remember the rest. but I have tried several codes and non of them seem to work the way I need them to. I appreciate any help that comes my way!

  • Log in to leave a comment
  • Profile image
    11.4k Timplanes

    Yeah, I understand now. The code should actually be very similar to the landing gear.

    Here is the code I usually use for the gear: ceil(smooth(clamp01(LandingGear), 1 / x))
    And for the doors: ceil(smooth(clamp01(LandingGear), 1 / y)) -
    floor(smooth(clamp01(LandingGear), 1 / z))

    So for the gear x is the time in seconds it will wait for the door to open on extension. y and z will add similar delays for the gear door on extension and retraction.

    +1 yesterday
  • Profile image

    @Timplanes if you could send the codes that would be great!
    As for the canopy, if you have seen the F-5 cockpit open up it slides up and then tilts back. So like a door being pushed back and then opening like normal. (A great description am I right?? Lol)

    yesterday
  • Profile image
    11.4k Timplanes

    I’m not sure what you mean by go up and then tilt back. Are you using a rotator and a piston to move the canopy?
    As for landing gear, I can definitely help you with codes though

    yesterday
  • Profile image

    I may also need some help with landing gear codes if you happen to have some of those as well. It will be gear and doors

    2 days ago