Struct box2d::body::BodyDef [] [src]

pub struct BodyDef {
    pub shape: Shape,
    pub body_type: BodyType,
    pub position: Vec2,
    pub velocity: Vec2,
    pub restitution: f32,
    pub mass: f32,
    pub gravity_scale: f32,
}

Fields