diff --git a/app/src/main.rs b/app/src/main.rs index c9decde..86a3e3d 100644 --- a/app/src/main.rs +++ b/app/src/main.rs @@ -1,7 +1,7 @@ use bevy::prelude::*; // Core Bevy types -const GRAVITY: f32 = -20.0; -const CAMERA_SPEED: f32 = 5.0; // units per second +const GRAVITY: f32 = -0.981; +const CAMERA_SPEED: f32 = 20.0; // units per second fn main() { App::new() @@ -29,6 +29,7 @@ fn setup( Mesh3d(meshes.add(Cuboid::new(1.0, 1.0, 1.0))), MeshMaterial3d(materials.add(Color::srgb_u8(124, 144, 255))), Transform::from_xyz(0.0, 0.5, 0.0), + Velocity(vec3(0.0, 2.0, 0.0)), )); // light commands.spawn((