Is there a way to check if an object is colliding with something without having a script on that particular object. Like so:
Transform other = null;
void Update () {
if(other.collider.isColliding){
//Rest of code in here
}
}
Is there a way to do that? Or would I have to put a script on that object and use OnCollisionEnter()
?