Skip to main content

sphere_body

Function sphere_body 

Source
pub fn sphere_body(
    position: Vec2,
    velocity: Vec2,
    radius: f32,
    mass: f32,
) -> Option<BodyDef<EuclideanR2>>