I was wondering if anyone had any ideas of how to get a realistic soccer
ball behaviour happening. Can anyone recommend me some good web sites to
get me started along with some sample code?
Please log in or register to post a reply.
Try the Newton Game Dynamics library or OpenDE (both of which are free
physics engines). I don’t have URLs, but google should do the trick.
Please don’t cross-post. Pick the most appropriate forum and post once
I will try out the Newton Game Dynamics library as it has .net wrapper
IMHO making soccer game from raw physics libraries will be good because
it will not be fun at all it will be like soccer simulation game you
must add some custom behavier to the physics.
for example try www.racer.nl it is a car simulation
game it is not fun like any commercial driving game because it depends
mainly on simulation and physics accurecy than the fun factor.
ODE is good for fast physics but not accurate like newton but ithink
NewTon will fit because the physics entities will be relativly few.
I agree. It’s probably better to fake it for a fun soccer game.
Unless you are simulating something scaled down. Like just penalty
kicks, where you set where you strike the ball to create spin. That
still doesn’t sound like fun to me =)
Ok, you people have convinced me. I think If am going to build the
application using c# .net, the truevision3d game engine, have a half
decent AI and all running at 60 frame, it would be a hard task to have a
real physics engine.
Therefore, I think I will fake the ball physics!
If anyone out there, has more sujestion and how create a fake soccer
ball physics engine let me know? :D
Maybe I spoke to hastily. I was thinking of the physics of actually
kicking the ball. If you fake the kick, then the physics of the ball
flying and bouncing around then field and off of goals posts makes
sense. This would be trivial to accomplish using a sphere for the ball
and a plane for the field with ODE.
You could then fake trapping, dibbling, etc until the next kick/header
occurs. Then set you initial conditions and the physics loose.
Or, am I just talking out of my ass?:huh:
No your not talking out of your ass :D !
I was thinking of the phyisics involved when a player does a cross or a
lob to an other player. Depending on how hard and far a player kicks the
ball it should vary in hight and number of bounces.
I havent thaught about the behavioure regarding deflectin of a goal post
or an other player.
I need to do more thinking i guess