- Switch from applying updated properties on Heartbeat to applying them on RenderStepped.
- Include benchmarks for spring animations for scrolling and resizing using both RunService.Heartbeat and RunService.RenderStepped. (#57)
- Add a
useMotor
hook that has a slightly lower-level interface to accommodate special cases around animating non-React Instances (#51)
- Improve internal type interface and type strictness, expose public types, and fix inconsistency between single motor and group motor APIs. This is a breaking change! (#45)
- Optionally accept Figma-style spring arguments instead of the default (
dampingRatio
andfrequency
) (#44) - Upgrade to jest 3 (#43)
- Prevent
__onComplete
from being fired instep
if an onStep callback stops the motor beforehand
- Added new configs to set the resting limit for the spring (#36)
- restingVelocityLimit - configures the resting velocity limit of the spring. Default: 0.001
- restingPositionLimit - configures the resting position limit of the spring. Default: 0.01
- Allow for setting a new goal in onStep callback for groupMotor (#27)
- Fix issue with using setGoal in onComplete callbacks (#34)
- Initial implementation