Profile image

How do I make a piston not have smoothing at the ends?

46.6k PlaneFlightX  2.6 years ago

Rotators stop when they reach the desired location. Pistons have smoothing at the ends.

My flaps clip through the wing on retracting because the piston is smoothing out and the flap rotators reach the location too soon, and the flaps clip through the speedbrake (which is a few nudges above the flaps).

Edit: edensk came up with some code.

set the piston's speed to a very high amount (100-200%), and use the following code to adjust the actual speed:
smooth(Input,1/X)
Replace Input with whatever you have as the input, and X with the desired time it takes for the piston to extend/retract fully.

  • Log in to leave a comment
  • Profile image
    16.4k edensk

    set the piston's speed to a very high amount (100-200%), and use the following code to adjust the actual speed:
    smooth(Input,1/X)
    Replace Input with whatever you have as the input, and X with the desired time it takes for the piston to extend/retract fully.

    Pinned 2.6 years ago
  • Profile image

    @edensk k, but, i put it where?

    1.8 years ago