예제 #1
0
 public void Taxi(Vector3 TaxiPosition)
 {
     if (!BalanceManager.HasFallen())
     {
         ResetRigidbodiesVelocity();
         Vector3 PushDirection = BalanceManager.transform.position - TaxiPosition;
         PushDirection   = PushDirection.normalized;
         PushDirection.y = 1f;
         BalanceManager.Fall(PushDirection * 200f);
     }
 }
예제 #2
0
 public override void Fallen(bool ToSet)
 {
     if (ToSet)
     {
         BalanceManager.Fall();
     }
     else
     {
         BalanceManager.RecoverFromFall();
     }
 }