Exemple #1
0
    public void OnCollisionEnter(Collision o)
    {
        //print("ASDAS");
        // print( o.impulse.magnitude);

        //player.Play(Random.Range(.3f ,1f));
        list.Fire(1, o.collider.attachedRigidbody.velocity.magnitude, 0);
    }