Skip to main content

separation_speed_from_restitution

Function separation_speed_from_restitution 

Source
pub fn separation_speed_from_restitution(
    approach_speed: f64,
    coefficient_of_restitution: f64,
) -> Option<f64>
Expand description

Computes separation speed from an approach speed and restitution coefficient.

Formula: separation_speed = e * approach_speed