Struct physics::Physical
[−]
[src]
pub struct Physical {
pub collidable: Collidable,
pub velocity: Vector2<f32>,
pub angular_velocity: f32,
pub centre_of_mass: Vector2<f32>,
pub restitution: f32,
pub inertia: f32,
}Fields
collidable: Collidable
velocity: Vector2<f32>
angular_velocity: f32
centre_of_mass: Vector2<f32>
restitution: f32
inertia: f32