Hello!Sorry for the newbish question but how can i create a boolean variable that returns true if the object is colliding and false when it is not colliding with anything?I searched for it all the morning but found nothing.
var bool : boolean = true;
function OnCollisionStay(){
bool = true;
}
function OnCollisionExit(){
bool = false;
}
^ That didn't worked because as my object exits the collision on another object it will return true all of the time. :[ Please help me