Using material_set it will be easier to set density, friction and restitution to a body, simulating properties of the selected material. SVN revision: 77462