Description
The Spring Data class is a container of data used to determine how a spring reacts to forces, making them smoother or faster.
Note:
The Handle component uses this data to determine what properties can change.
Every Motion Effect in the asset has at least one Spring Data field, and some may even have three.
Tweaking the data
When changing the values of any given Spring Data, we present you with three fields that you can change: spring,
damping,
and maxValue.
Out of these three values, the two main ones are spring
and damping,
as they control how ‘springy’ and how smooth the spring behaves.
The spring value
The closer that the spring
value is to the right side of the slider (with a value of one,) the more bouncy the spring is; Keeping the value closer to zero makes the spring not move as much.
The damping value
damping
is a value used to dampen the smoothness of the effect and allow springs to be sharp if need be; When its value is a small number, the spring is very smooth (taking longer to reach its destination,) when the value is a bigger one, the spring is sharp and moves quickly.
Last updated