b2Shape_IsSensor

Function b2Shape_IsSensor 

Source
pub unsafe extern "C" fn b2Shape_IsSensor(shapeId: b2ShapeId) -> bool
Expand description

Returns true if the shape is a sensor. It is not possible to change a shape from sensor to solid dynamically because this breaks the contract for sensor events.