Rock slide
In the wrecking ball recipe, we looked at using a RigidBodyEx sphere model to use as our wrecking ball. In this recipe, we will use that same RigidBodyEx as the basis for a rock analog and clone it a few times so we can build our landslide.
Getting ready
You should have completed the Wrecking ball recipe
Open
My_Level.cry
within the Sandbox
How to do it...
Begin by creating a terrain hill about 30 meters in height with a slope of about 35-45 degrees.
Copy and paste the house that was used from the Wrecking ball recipe and place it at the bottom of the hill.
Next, select the sphere RigidBodyEx from the Wrecking ball recipe and clone it and place it more than half way up the hill. Also, change the following properties on the sphere:
Resting = False
Next, clone the RigidBodyEx five times and stack them on the hill like a carton of eggs. Make sure they are tight and are also touching each other (this will make sure they all get activated physics when triggered).
Last, place the breakable...