how to make a baseball game

I was thinking of making a baseball and i was wondering how i would go around doing that. you would have to model a lot things and characters, but the main question was how would you script the AI for the batters hitting and hitting the ball, the Ai for feilding and stuff like that. any one got any ideas?

Hi Ty,

That is quite an ambitious project. Have you made any sports games previously in Unity? I would start off by making a simple game first, such as a basic table tennis game. I made one myself, just two bats, a table with a net, and a ball.

You'd be surprised how much you can learn just by completing a basic project like that.

Once you're comfortable with all those concepts, you might want to add characters into the game to perform the animations of swinging the bats etc.

Once that is complete, you will have a much better idea of how to make the baseball game. You will see many of the concepts are similar.

The main AI will be chasing down a hit ball, random pitches/swings, and of course determining whether one should steal a base or not. Break each one down seperately into simple parts and you will find it is quite simple.

Good luck!