internal void BoxHitOtherBlock(RaycastBox box) { return; box.GetComponent <Rigidbody>().useGravity = false; box.GetComponent <Rigidbody>().velocity = Vector3.zero; }
internal void BoxHitBarrier(RaycastBox box) { box.transform.parent = ground; box.isImmobile = true; box.GetComponent <Rigidbody>().useGravity = true; }