Bevy 0.17 Migration Final PR (#76)

* Get bevy 0.17 compiling and running (#72)

* get bevy 0.17 compiling and running

* try to fix CI breaking from const assertion for client/server features

* fix `bin` -> `lib` for `shared` in CI

* typo

* fix some collider issues (#73)

* Physics/controller improvements (#74)

* trying to fix physics prediction

* fixed prediction desync

* substantial controller improvements

* Finish off main bevy 0.17 migration (#75)

* fix lookdir issues
- airplane moving backwards
- player model facing backwards
- camera was technically backwards the whole time, and player models were facing the right way; camera is now facing forwards
- firing without a target now respects lookdir

* fix aim targeting

* migrate to bevy_trenchbroom 0.10 crates release

* fixed colliders not being adjusted out of worldspace

* predict platforms to stop constant rollbacks while riding them

* fix key/head drop visuals not working

* Fix key/head drop random initial force

* fixed static head drops duplicating

* fix platform velocity inheritance

* fix thrown projectiles not autorotating

* fix inconsistent explosion animations

* update avian3d to 0.4.1

* fix controller snapping to fixed angle upon switching heads

* clean up commented code

* fix broken physics positions

* Clean comments, fix warnings (#77)

* clean comments, fix warnings

* fix missing import

* steamworks 162 libs

* fix mouselook

---------

Co-authored-by: extrawurst <mail@rusticorn.com>
This commit is contained in:
PROMETHIA-27
2025-11-15 09:16:38 -05:00
committed by GitHub
parent ad1b7446e1
commit b83e506a4d
75 changed files with 2514 additions and 1831 deletions

View File

@@ -3,7 +3,7 @@ resolver = "3"
members = ["crates/*"]
[workspace.dependencies]
avian3d = { version = "0.3", default-features = false, features = [
avian3d = { version = "0.4.0", default-features = false, features = [
"3d",
"f32",
"parry-f32",
@@ -13,7 +13,7 @@ avian3d = { version = "0.3", default-features = false, features = [
"parallel",
"serialize",
] }
bevy = { version = "0.16.0", default-features = false, features = [
bevy = { version = "0.17.0", default-features = false, features = [
"animation",
"async_executor",
"bevy_asset",
@@ -49,21 +49,22 @@ bevy = { version = "0.16.0", default-features = false, features = [
"x11",
"track_location",
] }
bevy-inspector-egui = { version = "0.31" }
bevy-steamworks = "0.13.0"
bevy-ui-gradients = "0.4.0"
bevy_asset_loader = "0.23.0-rc.3"
bevy_ballistic = "0.4.0"
bevy_common_assets = { version = "0.13.0", features = ["ron"] }
bevy_debug_log = "0.6.0"
bevy_sprite3d = "5.0.0"
bevy_trenchbroom = { version = "0.8.1", default-features = false, features = [
"avian",
bevy-inspector-egui = "0.34"
bevy-steamworks = "0.15.0"
bevy_asset_loader = "=0.24.0-rc.1"
bevy_ballistic = { git = "https://github.com/rustunit/bevy_ballistic.git", rev = "b08ffec" }
bevy_common_assets = { version = "0.14.0", features = ["ron"] }
bevy_debug_log = { git = "https://github.com/rustunit/bevy_debug_log.git", rev = "86051a0" }
bevy_sprite3d = "7.0.0"
bevy_trenchbroom = { version = "0.10", default-features = false, features = [
"physics-integration",
] }
happy_feet = { git = "https://github.com/atornity/happy_feet.git", rev = "1b24ed95f166e63af35e7b6f9f0053d6d28e1f1a", features = [
bevy_trenchbroom_avian = "0.10"
happy_feet = { git = "https://github.com/PROMETHIA-27/happy_feet.git", rev = "48a96cc", features = [
"serde",
] }
lightyear = { version = "0.24", git = "https://github.com/cBournhonesque/lightyear", rev = "69675e5f7b305ae02c3c2c3cd320bbc3e442ee4d", default-features = false, features = [
lightyear = { version = "0.25", default-features = false, features = [
"avian3d",
"input_native",
"interpolation",
"netcode",
@@ -71,18 +72,15 @@ lightyear = { version = "0.24", git = "https://github.com/cBournhonesque/lightye
"replication",
"std",
"udp",
"frame_interpolation",
] }
lightyear_avian3d = { git = "https://github.com/cBournhonesque/lightyear", rev = "69675e5f7b305ae02c3c2c3cd320bbc3e442ee4d" }
lightyear_serde = { git = "https://github.com/cBournhonesque/lightyear", rev = "69675e5f7b305ae02c3c2c3cd320bbc3e442ee4d" }
lightyear_serde = "0.25"
nil = "0.14.0"
rand = "=0.8.5"
ron = "0.8"
serde = { version = "1.0.219", features = ["derive"] }
shared = { path = "crates/shared" }
steamworks = "0.11"
steamworks = "0.12"
[profile.dev.package."*"]
opt-level = 3
[patch.crates-io]
bevy-steamworks = { git = "https://github.com/HouraiTeahouse/bevy_steamworks.git", rev = "1933e5d" }