Type Alias SleepingThreshold

Source
pub type SleepingThreshold = SleepThreshold;
👎Deprecated: Renamed to SleepThreshold
Expand description

Deprecated alias for SleepThreshold.

Aliased Type§

pub struct SleepingThreshold {
    pub linear: f32,
    pub angular: f32,
}

Fields§

§linear: f32

The maximum linear velocity for the body to be allowed to be Sleeping.

This is implicitly scaled by the PhysicsLengthUnit.

Default: 0.15

§angular: f32

The maximum angular velocity for the body to be allowed to be Sleeping.

Default: 0.15