Esempio n. 1
0
 public override void SetDirectionOfCharacter()
 {
     if (Target.MoveComponent.Velocity == default)
     {
         base.SetDirectionOfCharacter();
     }
     else
     {
         AICharacter.DirectionVector = AICharacter.PredictDirection(Target.Position, _ballAttack.Speed, Target.MoveComponent.Velocity);
     }
 }