How can i make diamonds fall down? I mean when i dont touch diamons with ball they still fly in the air, but then ball touch them they destroy and this is right. But how can i make them fall down if ball dont touch them?
Here the code:
- void OnTriggerEnter(Collider col){
- if (col.gameObject.tag == “Diamond”) {
- GameObject part = Instantiate (particle, col.gameObject.transform.position,
- Quaternion.identity) as GameObject;