Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.13k stars 1.42k forks source link

Adding "Play" option to Trigger Volume (Currently only has "Pause") #3044

Open Charlesc22 opened 4 years ago

Charlesc22 commented 4 years ago

The "Trigger Volume" experimental component works as designed by Robert (Ref below), but is very limited in its functionality.

The Trigger Volume is a potentially very powerful tool that would open up all sorts of interesting content development on Hubs with more interactivity and enrich the "Hubs Experience"

While I realize that some or all of the requested functions listed here are not trivial to implement, I'm posting them here to get the conversation started:

Wishlist 1- Add the Audio component as a target than can be triggered (Currently only works with Animations and Video) 2- For Animation, Video, and Audio elements in Spoke, add a "Start Paused" switch 3- For the Trigger Volume Element, add the "Play" property (Currently only has the Pause property)

Reference: https://github.com/mozilla/hubs/pull/888

┆Issue is synchronized with this Jira Task

Charlesc22 commented 4 years ago

Wishlist item 4 It would be awesome to also be able to trigger Audio, Video, and Animations with a "Button" you can click from inside the room, So not sure if there would be a way to integrate the button functionality within the Trigger Volume element as a property you could turn on/off or if it would need to be a separate element that would work in a similar fashion as the Trigger Volume, but is triggered by a click rather than entering a volume