   Learning football physics
  Hi!Could anyone direct to game programming tutorials or tips related to football physics and moving with the ball realistically? I've been trying to find good tutorials but most of the one's I've found are not helping my project. Any one with links to pages or available books should please post them.Thanks.   
  realistically? when you hold a ball,the ball is attached to your hand. all you need to do is attach the ball to the palm bone and any movement to the body will move the ball.   ;  Uh... do you mean football as in european football ("soccer") or american football?   ;Quote:Original post by i_luv_cplusplusUh... do you mean football as in european football ("soccer") or american football?You missed Rugby.   ;  Hi guys, I meant soccer. I understand attaching to the bones or the vertex of a model but my current implementation isn't very realistic compared to those of winning eleven on the PSX. I need tutorials or tips to broaden my understanding of how it works or the ideas behind different implementations.   ;  For the ball itself, it should be affected by gravity, air resistance etc - a physics library should be of help here. When the ball is kicked, apply a force to the ball to make it move in the required direction. I'm sure you've figured this bit out already, as your question is more related to moving with the ball - dribbling, which is a bit more difficult.When I first thought about it, my first idea would be to check for a collision bewteen a player and the ball, and nudge the ball in the direction the player is moving. Thinking about this more, this may not be a great idea - for a player to change direction with the ball, the player would have to move around the ball - not very realistic and surely frustrating for the player.Maybe have the ball stick to the player's feet when in possesion (you can have an animation of the player dribbling the ball when in a player's posession - having the ball literally stuck to a player's foot isn't going to look good!). When the ball is possessed, the forces of physics don't act upon it. A player can move around and the ball stays with him. If the player is tackled, or passes / shoots, the ball is again under the forces of physics, until another player comes into contact with it.I don't know how current games deal with the issue, these are just my quick ponderings on the subject.   ;  Thanks DaveMS. I used the nudging part when I first started the project but as you said, It looked really fake and I decided to stick the ball a bit close to the player's feet while in possession. The only problem I'm having is my implementation right now. My function layout is missing something and I still haven't figured it out. The ball disappears to it's original location before calling my kick or call function which sucks. Anyways, I hope I can find tutorials on more realistic movement soon because sticking the ball isn't nice for a street football game.  I'm not planning fancy tricks and stuff but just movement that can help make the game just about okay.   ;  There's a book called "The Science of Soccer" which covers a lot of the physics of the ball. Getting a proper phyiscs model working (friction causing the ball to roll, rolling and sliding frictions, air resistance, gravity, how a ball bounces, etc.) is necessary if you want a proper game of footy.Other than physics there is a lot to consider. Good prediction is important (knowing where the ball will be in the future). And understanding when to play animations (i.e. it doesn't make sense to play a dribble turn animation if the player is too far from the ball), and how the animations interact with the ball (at what point in the animation does the ball get kicked? How will you handle this?)   ;  Thanks dashurc.   