Page 1 of 1
What exactly is a physics engine?
Posted: Sat Feb 19, 2011 2:32 pm
by RealmSeeker
Is a physics engine only collision detection and apply some forces or is there more to it?
EDIT: fixed typos
Re: What exactly is a physics engine?
Posted: Sat Feb 19, 2011 4:42 pm
by chaosavy
there is a bit more to it depending on the engine, some will have character controllers. What a character controler is basically a representation of a walking "being" so it can go up stairs and up slopes, etc. Also some will have vehicle representations, different types of objects (some that when colliding with other objects will cause "apply some forces" some that won't). Also physics engines tend to have ray scene queries. They also tend to have hinges and joints.
Re: What exactly is a physics engine?
Posted: Sat Feb 19, 2011 5:17 pm
by RealmSeeker
Think it will mean I have to check it out myself.
What engine would be suggestable for:
- characters
- carrages (e.g. with horses)
- boats/water
- flying object e.g. planelike objects
Re: What exactly is a physics engine?
Posted: Sat Feb 19, 2011 6:26 pm
by spacegaier
As already mentioned it highly depends on the engine, but some also support the physical correct simulation of fluids or cloth.
E.g. have a look at the PhysX features to get an idea of what big physics engines are capable of:
http://developer.nvidia.com/object/physx_features.html
Re: What exactly is a physics engine?
Posted: Sat Feb 19, 2011 9:34 pm
by RealmSeeker
If you take use of a physics engine, it looks like to start with it as soon as possible as I know class structures in general already.
Or would people advice, fool around with only the OGRE first and later implement physics into it/start over?
Re: What exactly is a physics engine?
Posted: Sun Feb 20, 2011 12:00 am
by chaosavy
I did Ogre only for quite some time at first then moved onto using phyisics once I got to the point of wanting my objects not to fly through each other