A script library for generating procedural motion in Unity.
npm install jp.keijiro.klak.motion!gif
The Procedural Motion package is a collection of small Unity scripts for
creating motion without pre-authored animation data.
It currently includes:
- Brownian Motion: Generates smooth random motion using a fractal Brownian
motion function.
- Cyclic Motion: Moves or rotates an object with a sine wave.
- Linear Motion: Moves or rotates an object along a straight path.
- Random Jump: Moves or rotates an object randomly in a single-shot
fashion.
- Smooth Follow: Follows a target object using frame-rate independent
interpolators.
You can install the Procedural Motion package (jp.keijiro.klak.motion) via
the "Keijiro" scoped registry using the Unity Package Manager. To add the
registry to your project, follow [these instructions].
[these instructions]:
https://gist.github.com/keijiro/f8c7e8ff29bfe63d86b888901b82644c