Hi @Keith-Impromptu and welcome,
Regarding your question on getting the animation states, I’m not sure if this has been fully exposed as a public API (@Elliott ?). There is a similar discussion here:
To add a bit more context to this, I’m trying to implement a flipbook animation for some sprites that are part of a character’s body (eyes, mouth). The way we approached this is to create an associated JSON file for every animation the character has (e.g for a “Celebrate.fbx” animation I will have a “Celebrate.json”). This file is automatically exported from Maya along with the character animation.
This additional file contains timeline information about what frames index from the eyes or mouth…
Feature request: [API Enhacement Request] Expose additional information to the AnimComponent and AnimComponentLayer APIs · Issue #3688 · playcanvas/engine · GitHub