Esempio n. 1
0
        public virtual void Restore()
        {
            RestorePaint();
            animationState         = PlaneEntity.GetAnimationState("manual");
            animationState.Loop    = false;
            animationState.Enabled = true;
            SetBladeVisibility(true);
            EffectsManager.Singleton.NoSmoke(sceneMgr, OuterNode, EffectsManager.SmokeType.LIGHTSMOKE);
            EffectsManager.Singleton.NoSmoke(sceneMgr, OuterNode, EffectsManager.SmokeType.NORMAL);
            ResetWheels();

            OuterNode.ResetOrientation();
            InnerNode.ResetOrientation();
            animationMgr.disableAll();
            animationMgr.enableBlade();
        }