Quantcast
Channel: Answers for "Balls Collision and Destruction = Higher Score. HELP ME?"
Browsing all 6 articles
Browse latest View live

Answer by siddharth3322

Here you have some misconcept in mind. First I assume that you have assign this script to **finish line** , based on that my reply work for you. You assign **FinishLine** script to FinishLine object so...

View Article



Answer by An Item

void OnTriggerEnter(Collider collison) //your parameter name collision { if(other.gameObject.tag == "Ball") //but you call other instead { other.gameObject.SetActive(false); count += 1; SetCountText();...

View Article

Answer by UnityDevelopper

i not sure if this will help but change the other to collision void OnTriggerEnter(Collider collison) { if(collision.gameObject.tag == "Ball") { collision.gameObject.SetActive(false); count += 1;...

View Article

Answer by siddharth3322

Here you have some misconcept in mind. First I assume that you have assign this script to **finish line** , based on that my reply work for you. You assign **FinishLine** script to FinishLine object so...

View Article

Answer by An-Item

void OnTriggerEnter(Collider collison) //your parameter name collision { if(other.gameObject.tag == "Ball") //but you call other instead { other.gameObject.SetActive(false); count += 1; SetCountText();...

View Article


Answer by UnityDevelopper

i not sure if this will help but change the other to collision void OnTriggerEnter(Collider collison) { if(collision.gameObject.tag == "Ball") { collision.gameObject.SetActive(false); count += 1;...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images