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

How to export with animations in runtime? #109

Open
dev-kiwicreations opened this issue Sep 2, 2023 · 1 comment
Open

How to export with animations in runtime? #109

dev-kiwicreations opened this issue Sep 2, 2023 · 1 comment
Labels
question Further information is requested

Comments

@dev-kiwicreations
Copy link

Hello, I'm unable to find out how to export with animations at runtime. I'm using the fork with the 2 years of fixes. There isn't any documentation on how to use the GLTFRecorder at runtime. Could someone please guide me? Thank you

@hybridherbst hybridherbst added the question Further information is requested label Sep 2, 2023
@hybridherbst
Copy link

Hey, you can look at the included GLTFRecorderComponent as example (or use that directly) for runtime animation export. If you look at the code you'll see that it uses the GLTFRecorder API, which you can also do from your own scripts.
The other option is using GLTFRecorderTrack and GLTFRecorderClip inside a Timeline, which also works at runtime.

I'll keep this issue open to improve the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants