Ejemplo n.º 1
0
        public override void End(MovementBehaviourManager behaviourManager)
        {
            base.End(behaviourManager);

            ObjectToMove.LocalPosition = Position;
            ObjectToMove.RigidBody.FullLinearStop();
        }
Ejemplo n.º 2
0
 public virtual void End(MovementBehaviourManager behaviourManager)
 {
     foreach (KeyValuePair <string, MovementBehaviour> pair in DependentBehaviours)
     {
         pair.Value.Completed = true;
         behaviourManager.RemoveBehaviour(pair);
     }
 }
Ejemplo n.º 3
0
        public override void End(MovementBehaviourManager behaviourManager)
        {
            base.End(behaviourManager);

            ObjectToRotate.RigidBody.FullAngularStop();
        }