1 unstable release
0.3.0 | Feb 12, 2022 |
---|
#1429 in Game dev
515KB
11K
SLoC
Utility library to play gltf animations.
This library is meant to be used together with rend3
and rend3-gltf
and
allows posing meshes according to the animation data stored in a gltf file.
In order to play animations, you need to:
- Create an [
AnimationData
] once when spawning your scene and store it. - Each simulation frame, use [
pose_animation_frame
] to set the mesh's joints to a specific animation at a specific time.
For now, this library aims to be a simple utility abstraction. Updating the current state of the animation by changing the currently played animation or increasing the playback time should be handled in user code.
Dependencies
~18MB
~380K SLoC