- Home /
Trigger Icicles to drop
Hi , I have a 2.5D platformer and im trying to make icicles drop when the player runs in front of them.
How would I go about doing this? I know you have to use :
// Destroy everything that enters the trigger
function OnTriggerEnter (other : Collider) {
Destroy(other.gameObject);
}
I'm not good at scripting by the way :3
Duplicate Question : http://answers.unity3d.com/questions/428278/trigger-icicles-to-drop-2.html
and again : http://answers.unity3d.com/questions/428278/trigger-icicles-to-drop.html
Please Delete this Question.
Please be patient if your question/reply doesn't show straight away.
As a new user, your posts and questions are held in a moderator que until it is approved and then it is displayed. When your karma rises, you'll be able to post questions, comments and answers without waiting for someone to approve it
Your answer
Follow this Question
Related Questions
All instance of a script and change a variable 1 Answer
call/trigger animation of other object 2 Answers
Slicing Objects 1 Answer
Game object position. 1 Answer