In this Category you will be building a very simple Unity game that makes use of skills and tools we require for developing VR simulations.
Task:
- Modify the scripts make the hand move back and forth in the scene
- Next modify
LaserHand.csto use to destroy the sphere when the hand in front of it. Don't use hard-coded cooridnates to achieve this, look into what Physics tools unity has to offer.
basic_level.mp4
NOTE your solution doesn't need to show the red laser that's shown in the demo video, that's just for demo purposes
- Task: Modify the script labeled
GameManager.csto:- Instantiate prefabs.
- Ensure prefabs are positioned correctly in the world space
intermediate_level.mp4
- Task: Modify
LaserHand.csandSphereController.cs:- Prevent the sphere from being destroyed until the 5th hit by the LaserHand raycast. LIke having 5 lives
- Only
SphereController.csmust be the one keeping track of thelivesremaining. - Once all the lives are gone, make the Scene Restart after 5 seconds
- Utilize at least one co-routine for any of the above
advanced_level.mp4
Be Creative and showcase a little more than just this basic game. Here are some ideas:
- Change the skybox of the scene, materials, or FBX models (keep it Safe For Work please)
- Include a Canvas UI to show the remaining lives
- Make a small full game out of this, with menu, points, restart button, etc.