I’m trying to make a game and I can not create the script. The idea is that a safe from a tall building falls on a character when he is passing. He can avoid this if you find a ball tennis and hit the ball into the safe to fall before that. I made the animation of the safe falling and put an object to trigger the animation. The problem is: I need make it safe always falls upon the character (eg
prevent the character walk after touching the trigger). I need also make the animation of the safe start falling when the tennis ball touches it and, finally, it is necessary to make open the menu stating that the character died and if he wants to try again. Could anyone help me with the script? I’m not a programmer.
Thanks.