pub unsafe extern "C" fn PxShape_setRestOffset_mut(
    self_: *mut PxShape,
    restOffset: f32
)
Expand description

Sets the rest offset.

Two shapes will come to rest at a distance equal to the sum of their restOffset values. If the restOffset is 0, they should converge to touching exactly. Having a restOffset greater than zero is useful to have objects slide smoothly, so that they do not get hung up on irregularities of each others’ surfaces.

Default: 0.0f

Sleeping: Does NOT wake the associated actor up automatically.