A question about physics engines..

A forum to store posts deemed exceptionally wise and useful
Post Reply
pex
Posts: 16
Joined: Sun Mar 28, 2004 11:51 am

A question about physics engines..

Post by pex »

What are physics engines and why should i use them?
i know its something about collisions or something like that, but why is it better to use a physics engine for that instead using just the graphic engine?
and, are physics engines hard to learn or easy?

thanks, pex. :)
Mercior
Posts: 100
Joined: Tue Feb 24, 2004 1:53 am
Location: UK
Contact:

Post by Mercior »

A physics engine does exactly what it says on the tin - it controls the physical behaviour of object. It has nothing to do with the graphics engine.

The modern wave of physics engines deal with "rigid bodys", and can produce extremely realisic interaction of objects (balls colliding on a pool table, cubes falling down stairs, ragdolls). Deciding if you need to use a physics engine really depends on what type of game you're making, and even if you do use one you may not want to have all collisions handled by the physics engine.

I advise you head over to the tutorials section & look at the tomahawk, ODE and Newton integration tutorials and decide for yourself if its "easy" ;) All 3 tutorials have binary examples to download so you can see for yourself what a physics engine does.
Post Reply