use bevy::{ ecs::component::Component, math::Vec3, prelude::{Deref, DerefMut}, }; /// Used to record the amount of movement an object is currently undergoing #[derive(Component, Deref, DerefMut, PartialEq, Default, Clone)] pub struct Velocity { #[deref] velocity: Vec3, }