How to make diamonds fall down?
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;
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612135109im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Alright, I have a complete script but the objects only move down? 0 Answers
Void start from current script not disable other script 0 Answers
[I still need help even though there is 2 replies] Help with shooter script 3 Answers
Text Adventure help! 0 Answers
Rotate a hinge joint on its own 0 Answers