Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request (Optional ) - GLTF/GLB combining model animations #23

Open
ronjunevaldoz opened this issue Oct 23, 2022 · 1 comment
Open

Comments

@ronjunevaldoz
Copy link

ronjunevaldoz commented Oct 23, 2022

This can be optional feature, we know that we can have all animations in a single gltf/glb file. I know this is overkill but incase we want to merge animations from different file with same model without modifying it in Blender

I'm thinking of merging the models animations in preload of gltf models.

loadGltfModel("path/to/model-walk.glb", "path/to/model-idle.glb", "path/to/model-run.glb", modelCfg)

Then we can now enable animations like this

// walk = 0, idle =1, run = 2
model.enableAnimation("walk") // idle, run, atck
@fabmax
Copy link
Collaborator

fabmax commented Nov 7, 2022

is there any description coming? otherwise i'll close it

@ronjunevaldoz ronjunevaldoz changed the title GLTF/GLB combining model animations Feature Request (Optional ) - GLTF/GLB combining model animations Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants