Add an angular velocity component

This commit is contained in:
2025-08-09 15:13:47 -05:00
parent 515ecaac27
commit 2b1a0f386e

View File

@@ -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);