|
does anyone know a script that when you walk into the area it will kill your character? if so what is the script? also how would i insert the script into the game so that the block is invisible? I would also like a script that gives you time to return to the game area.
(comments are locked)
|
|
You can use triggers to check when something enters that area. A trigger is just a collider in which you set the Is Trigger option. You can create a cube, adjust its position and size (scale) to the area you want to cover, and check the Is Trigger option. Name it "KillArea", then disable the Mesh Renderer : the trigger will become invisible. Well, the rest is on you. A good start point is to download the FPS Tutorial Completed and follow the instructions found in FPS_Tutorial_1 to 3.
(comments are locked)
|

Take a look at the Lerpz tutorial, it covers this.