Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
Description
RotationAnimation handles smooth rotation and has the option to pick direction but when the target changes mid animation it loses all velocity.
SmoothedAnimation doesn't lose velocity when the target changes like RotationAnimation but doesnt handles rotations well. It doesn't have the direction property that the RotationAnimation has and smaller rotations appear choppy (works in Integer rotation values?).
possibly extend RotationAnimation to perform smooth transitions without losing velocity or make SmoothedAnimation handle floating point values such that the animation appears smoother.
Example use case: A compass that rotates to point north and a magnetic sensor with a variable update rate, such that the interval between receiving a new direction value varies.