Function radial_velocity

Source
pub fn radial_velocity(
    center: Vec3,
    point: Vec3,
    radius: f32,
    speed: f32,
) -> Option<Vec3>
Expand description

Bounded radial velocity change, with a smooth falloff to zero at the radius. Apply mass * result as an impulse to give light/heavy props equal launch speed.