From 8ff60fdeb0dda7cb6eb7ed91c5084fc107f33365 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 8 Aug 2026 15:49:38 +0800 Subject: feat: add gravity and gravity-movement plugins Add CHGravityPlugin to manage the global gravity resource and CHGravityMovementGluePlugin to apply gravity to movement velocity each fixed update. Update workspace dependencies and include the new crates in the main app. --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 4906590..df08db9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,5 +9,7 @@ fn main() { let mut app = App::new(); app.add_plugins(DefaultPlugins); app.add_plugins(ch_movement::CHMovementPlugin); + app.add_plugins(ch_gravity::CHGravityPlugin); + app.add_plugins(ch_gravity_movement::CHGravityMovementGluePlugin); app.run(); } -- cgit