public interface Tickable
Modifier and Type | Method and Description |
---|---|
void |
setSmoothness(float smoothness)
Should set the smoothness value that determines the rate of transition towards a target.
|
void |
tick()
Should advance the time used by the smoother to move towards its target.
|
void tick()
void setSmoothness(float smoothness)
smoothness
- The smoothness of the transition towards a target. It is scaled between
0 and 1. A value of 0 has abrupt changes, 1 is very smooth. A value of
0.9 gives nice workable smoothness for typical animations.