Week 46 - Finishing up our last project
Finishing up our last assignment - VR
Week 46
This is our last week on our final assignment(at least that's what we hope). Last week, we ran into multiple issues. As our 'flying' physics is based on teleporting a certain distance depending on the distance between the body of the player and the hands, controlling the speed of 'flight' we have the problem that we can 'fly' thru buildings with boxes colliders attached to them and also we could not get the ball throwing physics to work as we do not have anywhere to throw the ball from basically as our character does not have any collider attached to it.
This week we mostly concentrated on gettings minigames into our world. The best minigame we implemented is fighting dementors using a magic wand. We made it so that wherever you are on the map you can press a button on the right controller and you get teleported to the entrance of Hogwartz where the dementor-killing minigame starts. At first, the dementors spawn along a line and they come to you. There is a magic wand on the floor that you can grab and 'shoot' lightning at the dementors, killing them, playing the death animation and sounds while the 'Expecto patronum' sound effect plays in the background.
We also changes the values of the max Velocity of the hands to fix the bug of the hands so they won't act funky when turning.
For implementing the dementors we have found a package with ghost animations(die, attack, move) and we used it as dementors.
For the magic wand, we found a package for the textures and colliders but we had to implement the spell animation ourselves. For that, we used a lightning package that shoots a raycast that when it hits the dementors, triggers their death.
GithHub link: https://github.com/XRD-X1/A4-VR-Wizard-World?fbclid=IwAR2P73X5pBeJh8khsnlFxxeFuIpqYVZry5GY9_kxynGbzG1INpLLoOVNKH0
YouTube link: https://www.youtube.com/watch?v=dmD8J6rEIbc
Authors: Mircea Dobre, Patrik Horny
Comments
Post a Comment