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); } }
public override void Fallen(bool ToSet) { if (ToSet) { BalanceManager.Fall(); } else { BalanceManager.RecoverFromFall(); } }