Making projectiles
Making projectiles is not as complicated as creating the actual projectile sources. However, they can be customized if you give them different properties that react differently in the virtual world. The best part about projectiles is their variability and versatility. In this section, we will explore a variety of ways to customize the experience of using our hand cannon.
Projectiles are what make hand cannon fun to use. By creating immersive experiences with sound, impacts, force, and physics, we can make some exciting experiences using a simple projectile. In this section, we will cover how to create a simple projectile, add an impact prefab to indicate that it hit an object, and make complex prefabs to utilize a variety of different properties that we created the framework for in our complex hand cannon. We will start with the basics and then build up to more complex features, leaving it to you to create the variance and variability as you see fit.
To create...