Sign in to follow this  
Chris_N

Can I do this?

Recommended Posts

I'm about to start working on AI for my hockey game, and I have a small question: Can I solve only on the xz plane for player position( In my world Y is up ), and by this design all the AI in a simple 2D fashion.? / Christoffer Nyberg

Share this post


Link to post
Share on other sites
The only thing I can see that you might want to consider the Y value for, is for things like tripping and hip checking in the game, where it depends on the positions (height wise) of the players. Although it would probably work just as good if you used states for this.

Share this post


Link to post
Share on other sites
There are some 3D aspects to the game (mostly because the puck frequently leaves the ice), though you might choose to ignore them.

It affects passing, blocking, and shooting. Keep in mind the goal is in the 3rd dimension. Sometimes the puck will go over the net or over the boards.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this