- Home /
how do you make a 3D game object destroy your player?
I'm new to using unity and I'm using C#. I have a lot of trouble with scripting and could really use some help with making a code to destroy my player when it is hit by the enemy. Thanks
Answer by mcred · Oct 03, 2015 at 04:22 AM
I'd suggest you go through the Space Shooter Tutorial.
http://unity3d.com/learn/tutorials/projects/space-shooter-tutorial
Lesson 2.02 specifically deals with creating triggers to destroy an object when there is a collision.
Your answer
Follow this Question
Related Questions
When I start my fps game , get killed immediately without an enemy being around. 0 Answers
Kill Player Method Doesn't Work ? 0 Answers
How to solve problem of "GUI Error: You are pushing more GUIClips than you are popping" 0 Answers
How can I destroy my Player when it touches another object? 1 Answer