In the previous section, we created the destructible wall object, which contains four cubes. Each one has the Rigidbody and Box Collider components attached, which will make the wall such that we are able to shoot and break it. In this section, we will create a rockslide that will be triggered when the player hits the trigger area, which will have the script attached later in the next step.
We will begin with creating an empty object for our rockslide:
Rockslide. Reset its position to X:
0, and Z: