Skip to main content

shape_get_density

Function shape_get_density 

Source
pub fn shape_get_density(world: &World, shape_id: ShapeId) -> f32
Expand description

Get the density of a shape, usually in kg/m^2. (b2Shape_GetDensity)