How can I make this animation work again if I press the trigger?
How can I make this animation work again if I press the trigger?
Hi,
The logic you have in the screenshot will work backward.
When you first press the trigger in the Copy Trigger
module, the Smooth Scalar module will count upwards from the Dash Scalar module's minimum to
the maximum value. Upon pressing it again, it will count downwards from
the maximum to the minimum.
Maybe this connection from the Toggle module prevents the backward counting from being visible?:
Warmest regards,
Hi,
One issue is that the Smooth Scalar will transition any change from 1 to 0 into an animation:

To address this, you can use the Reset pin of the Smooth Scalar to avoid this and change the logic of the Toggle module so that it always switches from 0 to 1.
However, I would suggest the following simpler logic instead with a Timer module, where its End Time is 1:

For adding non-linear animations, use a Curve module instead of the Dash Scalar module:

In the Curve Editor of the Curve module, add a key for the 00:00:00:00 time with the same minimum value as in your Dash Scalar module. Then, add a key for the 00:00:01:00 time with the same maximum value as your Dash Scalar module. Finally, select the appropriate animation curve:
Warmest regards,