use bevy::{ ecs::resource::Resource, math::Vec3, prelude::{Deref, DerefMut}, }; /// Represents the global gravity #[derive(Resource, Deref, DerefMut, PartialEq, Default, Clone)] pub struct Gravity { #[deref] pub(crate) gravity: Vec3, }