Utsuroi
The plugin makes it easy to control model animation when use Three.js :)
Setup
NPM Install
$ npm install utsuroi
Script Install
Basic Usage Example
// esm let manipulator: Manipulator | undefined;// Load assetvar loader = ;loader;
How to update animation
Execute the update
method every frame.
{ ; ifmanipulator manipulator; } ;
How to change action
If you want to change the action, simply pass the action name, loop and duration to the to
method and execute it :)
// to(ActionName[, duration, loop])manipulator;
How to pause animation
manipulator;