/* void OnTriggerEnter(Collider other) * { * * if (other.tag == "Ball") * {g * Ballmv.ballmove = true; * Ballmv.Playball(ballforce); * * } * }*/ void OnCollisionEnter(Collision col) { if (col.collider.tag == "Ball") { Ballmv.ballmove = true; Ballmv.Playball(ballforce); } }