Profile image

Piston activation delay/speed and deactivation delay/speed

0 BANANAMAN42069  1.9 years ago

So I've been trying to find a way to code the piston to activate and deativate the time or speed when its activated/deactivate for example: I want it to activate to, let say have a 2 second or a speed of 2 when activated and then deactivate it with a 1 second or a speed of 1, Ive tried so many times trying to code my piston using clamp() smooth() and ceil() still doesn't work ive tried doing smooth(Activate4,0.5) smooth(Deactivate4,1)... i just need help so I can finally continue and finnish the Plane that Ive been working on with the piston, incase of the people wondering I'm trying to make a deployable camera with fully sliding doors and then the camera would drop down and then when im done using it, then have a delay of closing the doors so the camera wouldn't just clip through the doors I just want help or some advice