diff --git a/src/physics.rs b/src/physics.rs index a2c70b6..c495330 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -8,6 +8,9 @@ use bevy::prelude::*; #[derive(Component)] pub(crate) struct Velocity(pub(crate) bevy::math::Vec2); +#[derive(Component)] +pub(crate) struct AngularVelocity(pub(crate) f32); + #[derive(Component)] pub(crate) struct Rotation(pub(crate) f32);