Assignment 2 Day 3
Day 3 for VR Interaction Assignment
This is the last day for designing the scene and implementing the functions. I changed the paintings' scale, deleted some paintings that do not fit into the scene and replaced some statues with vases. Because the statues and the exhibition stands are connected together, it would be awkward to achieve the function of picking them up. It is time to start implementing the last function. I googled a lot of tutorials about trigger sound effects. But most of them are for 2D games. I stumbled upon Jimmy Vegas' video about "How to play sound effects with a trigger in C#". I changed my idea about touching the painting to trigger the soundtrack. Instead, I followed his tutorial and put a cube in front of the painting and put the audio source into the cube. And I added the Sound Trigger Script into the cube, removed the mesh render to make the cube to be transparent. And when I tested it, I could trigger the sound effect when I was close to the painting.
Get KIT724 Assignment 2 VR Interaction
KIT724 Assignment 2 VR Interaction
More posts
- Assignment 2 VR ReportAug 20, 2022
- Assignment 2 Day 2Aug 19, 2022
- Assignment 2 Day 1Aug 19, 2022
Leave a comment
Log in with itch.io to leave a comment.