Destroying GameObjects with projectiles
The core focus of this section is on destroying GOs, not just using the destroy function within a C# script, but creating a destructive experience and putting that in the hands of the user who navigates the virtual world. It’s not fun if everything is pristine and perfect without any damage or water damage on anything. Nobody wants curated experiences that don’t have a chink in their armor. By allowing users to interact with the virtual world and have consequences for those interactions, whether good or bad, we can tap into the risk-reward feature and element of VR. If there’s something to lose, that means there’s a risk and a reward, and people will risk what they have to lose to go for that reward. It creates an innate challenge that is interesting to see play out when you release your projects and share them with the world.
To destroy GOs when they are hit by projectiles, follow these steps:
- Open the...