Trigger Icicles to drop (67373)

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

1 Answer

1

http://unity3d.com/learn/tutorials/modules/beginner/physics/rigidbody