Game Development Reference
In-Depth Information
We also created the Rockslide game object, the Rocks script to enable and disable
rigidbody of the rocks, and the triggerArea game object to make the object fall down
when the player hits the triggerArea by using another script ( TriggerArea ).
So, let's take a look at the screenshot of what we have done so far:
The rock falls down when the player hits the trigger area as shown in the previous screenshot.
 
Search WWH ::




Custom Search