Raycast, Bullet Holes, and Random Arrays

Randomize Bullet Holes with Arrays In this Unity┬átutorial we will be going over a few different things. First we’ll discuss how to create a Raycast that we’ll apply to the front of our weapon. Then we’ll create bullet hole textures that will be randomly instantiated from an array using random.range in our script. This is […]

Raycast Force and Ejecting Bullet Shells in Unity

Impact Forces and Ejecting Bullet Shells In this Unity┬átutorial we’ll be showing you how to apply force to rigidbodies in our game with our raycast. We’ll also go over how to “eject” bullet shells from our gun. We’ll start off by modifying our previous raycast script by using “Add Force” which will apply a force […]