Skip to content

Model Viewer Animation Question #4522

Answered by zpennachi
emincanyuksel asked this question in Q&A
Discussion options

You must be logged in to vote

if you want both animations to play/loop simultaneously then yes! Entirely possible. You just want to make sure when exporting from blender you uncheck the "group by NLA track" in the animation dropdown under the GLB export settings.

If you want independent control over the animations (one plays when x happens, other plays when y happens) then you want to actually IGNORE what I said above, and then use the modelviewer API + some javascript to achieve said functionality.

Example: Based on the pose it looks like you're using Mixamo library. Here's an example of a single model that has multiple animations that can be triggered via hovering over the dots on the bottom of the page

Replies: 2 comments 16 replies

Comment options

You must be logged in to vote
3 replies
@emincanyuksel
Comment options

@zpennachi
Comment options

@emincanyuksel
Comment options

Answer selected by elalish
Comment options

You must be logged in to vote
13 replies
@emincanyuksel
Comment options

@zpennachi
Comment options

@emincanyuksel
Comment options

@zpennachi
Comment options

@eyaler
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants