Hi, I'm working on a project that requires guillotines that each have a variable controlling their speed, for example, if guillotine1speed=3 it should take 3 seconds for the guillotine to go all the way down and all the way back up.
Develop games in your browser. Powerful, performant & highly capable.
You could create an animation of the blade coming down and returning which runs at a global or object variable-controlled speed.
You could add a sine behaviour to your object and set the start of the vertical sine and the duration in the event sheet (with your variable).
Or half the duration wait a little bit and start the sine with a period offset to bring it up again.