engine will have this for physcis ( needs for koopa's shell etc.)
Wohlstand wrote:Box2d, i s a physical engine http://box2d.org/, this will help to make good physics faster and easer.
But it is only calculator and doesn't doing graphics. The graphics render will be a SDL's and OpenGL's part.
Wohlstand can explain more..
from official site:
Box2D is an open source C++ engine for simulating rigid bodies in 2D. Box2D is developed by Erin Catto and has the zlib license. While the zlib license does not require acknowledgement, we encourage you to give credit to Box2D in your product.
Continuous collision detection
Contact callbacks: begin, end, pre-solve, post-solve
Convex polyons and circles.
Multiple shapes per body
One-shot contact manifolds
Dynamic tree broadphase
Efficient pair management
Fast broadphase AABB queries
Collision groups and categories
Continuous physics with time of impact solver
Persistent body-joint-contact graph
Island solution and sleep management
Contact, friction, and restitution
Stable stacking with a linear-time solver
Revolute, prismatic, distance, pulley, gear, mouse joint, and other joint types
Joint limits, motors, and friction
Momentum decoupled position correction
Fairly accurate reaction forces/impulses
Small block and stack allocators
Centralized tuning parameters
Highly portable C++ with no use of STL containers
OpenGL with Freeglut
Graphical user interface with GLUI
Easily switch between tests using GUI
Test framework for easily adding new tests
Mouse picking and the bomb!
CMake build system files
Doxygen document with code comments
Active user forum