예제 #1
0
    internal void BoxHitOtherBlock(RaycastBox box)
    {
        return;

        box.GetComponent <Rigidbody>().useGravity = false;
        box.GetComponent <Rigidbody>().velocity   = Vector3.zero;
    }
예제 #2
0
 internal void BoxHitBarrier(RaycastBox box)
 {
     box.transform.parent = ground;
     box.isImmobile       = true;
     box.GetComponent <Rigidbody>().useGravity = true;
 }