Week 10: Project finalization
VR Escape Room Finalization We tried many ways to make the buttons pressable, and only one way worked for us, which is by using animations. So we started by creating the animation, which is a simple change in the position of the button. Then, we only want the button to animate if the player presses it, so we need a trigger to start the animation. After creating the button’s animation, we double click on the animator to get its window. By default, the animator will look something like this: Which means that as soon as the button is instantiated, the animation will start. But we wanted to only start when the player presses it. So we replaced the default state of the button with a new empty state that we just created and we set it as default. Next thing is to create a transition between the new default state and the ButtonAnimation, and also the transition between the buttonAnimation and the default state, so, back and forth. We also create a boolean parameter to the animator t...