Sign in to follow this  
evren bingol

Soccer/Football Goal.

Recommended Posts

Hi there this is my first post here. So I am sorry if i am doing something wrong. I am working on a soccer game. Here is the link to the site http://sites.google.com/site/thesoccergame/art-work I am gonna come to my question first. How shoudl I create the goals. Should I create 3 Goal Posts mesh, say right post left post and top post. and check for the balls x,y,x to see if it is a "GOAL" Or Create a single mesh called Goal. And Create invisible plane where the goal is and check for collusions with the plane. I dont want to hard code the goal's positions. Becasue Ideally i might wanna load another stadium/field and in that stadium/field goals might be in slightly different places. Pipeline : Blender -> sceneLoader -> Ogre/Bullet sceneloader is just a xml format for exporting a scene. Any Ideas. Thanks Ev This is the previous 1st /3rd person game I worked on In case interested. http://sites.google.com/site/usfgame/art-work

Share this post


Link to post
Share on other sites
I prefer the large collision polygon.

The polygon should be placed by artwork or other tools. In your physics code you simply check if the goal object completely contains the ball object. Since the ball must be completely within the goal area, you would want a box that is bigger than the ball and set within the goal area, with some depth, height and width to spare.

Ideally the tools should allow you (as a level designer) to place the models wherever you want, and apply attributes to each model. You can have goal posts with their attributes of hard and immobile, a net which is fabric, corner cones that can be moved. They should also include invisible markers such as the penalty kick spot, center spot, and corners. You could place sections of stadium with different populations of animated spectators.

Your tools should allow you (as artist and modeler) to assign parts of the ground mesh with specific attributes, such as the center circle, penalty area, and the like. I would include the boundary lines in the ground mesh because they are infinitely tall.

If you don't have that kind of tools, you'll need to make do with what you can put together on your own.

Share this post


Link to post
Share on other sites
Thank you so much for the reply.
I dont think blender can export tags for penalty or what not., or maybe it does I am not a 3d Artist or a level designer, so i have no I idea. I ll look into it. All i can do it AI. :)

Anyhow thanks.

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