Creating a grenade
Our first project is creating a grenade, and we will use it as a way of applying force in a variety of different directions so that there is a broad impact in our VR scene. Creating a grenade requires a strategic approach, specifically because it requires you to grab the grenade, arm it, and then throw it. Once the grenade is thrown and armed, it will detonate after a certain amount of time. If you don’t arm the grenade and throw it, it won’t detonate. And if you don’t throw it soon enough, it can detonate in your hand. Being able to create this experience is unique and can be fun because it allows you to implement something very simple and get a nice result.
For this project, we’ll start by creating a grenade mesh with simple objects. Then, we’ll create a C# script that can be used to arm our grenade and apply different settings and properties, such as impact force and other things. We will then create a spawn portal that will...