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

[Question] how to start Positional Audio when playing is not set in the omi Blender exporter #4

Open
arpu opened this issue Mar 4, 2022 · 3 comments

Comments

@arpu
Copy link

arpu commented Mar 4, 2022

Hey,

i do some test on this awesome extension, any hint how to start the positional Audio after the glb is loaded?

@arpu
Copy link
Author

arpu commented Mar 5, 2022

ok its simple

find the Audio Type in the Object3D and use .play()

object3D.getObjectByProperty('type', 'Audio').play();

@arpu arpu closed this as completed Mar 5, 2022
@antpb
Copy link
Contributor

antpb commented Mar 7, 2022

hey @arpu ! That is exactly how you can target and set the audio to play. I'm going to open this issue again because it is actually a bug that you are not able to autoplay any audio. We changed the property name recently to playing from autoplay which means the three-omi package needs an update. Will let you know when that gets pushed!

@antpb antpb reopened this Mar 7, 2022
@robertlong
Copy link
Member

@arpu try updating three-omi now 👍

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

3 participants