A fixture is a single simple collision geometry (polygon, circle, etc) and it holds some (static) physical properties such as density, friction, and restitution, etc with its geometry.
Bodies consist of one or more fixtures and bodies carry fixtures and move them around in the world. Bodies have position and velocity. You can apply forces, torques, and impulses to bodies. Bodies are always rigid bodies in Box2D. That means that two fixtures attached to the same rigid body never move relative to each other.
Comments
Bodies consist of one or more fixtures and bodies carry fixtures and move them around in the world. Bodies have position and velocity. You can apply forces, torques, and impulses to bodies. Bodies are always rigid bodies in Box2D. That means that two fixtures attached to the same rigid body never move relative to each other.
There is some great information here: http://www.box2d.org/manual.html
Likes: Tom2012