diff --git a/Cargo.toml b/Cargo.toml index 58b017c..fd39bda 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +# bevy = { version = "0.13.2", features = ["wav"] } bevy = { version = "0.13.2", features = ["wayland", "wav"] } # bevy = { version = "0.12.1", features = ["wayland", "file_watcher", "trace"] } diff --git a/src/player.rs b/src/player.rs index d340a0d..495e650 100644 --- a/src/player.rs +++ b/src/player.rs @@ -64,7 +64,7 @@ fn controls( .and_then(|cursor| camera.viewport_to_world(camera_transform, cursor)) .map(|ray| ray.origin.truncate()) { - let spos = world_position.extend(0.); + let spos = world_position.extend(-world_position.y); let statue_texture = asset_server.load("img/Props.png").clone(); commands.spawn(( Statue,