update to avian 0.3, seems stable??

This commit is contained in:
Joe Ardent 2025-09-16 11:47:31 -07:00
parent 52cac4a3eb
commit 8ec904622b
3 changed files with 726 additions and 578 deletions

1296
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -9,9 +9,9 @@ bevy = { version = "0.16", features = ["bevy_dev_tools", "configurable_error_han
[dependencies.avian3d] [dependencies.avian3d]
default-features = false default-features = false
#version = "0.2" version = "0.3"
git = "https://github.com/Jondolf/avian" # git = "https://github.com/Jondolf/avian"
branch = "main" # branch = "main"
features = ["3d", "f32", "parry-f32", "debug-plugin", "default-collider", "collider-from-mesh"] features = ["3d", "f32", "parry-f32", "debug-plugin", "default-collider", "collider-from-mesh"]

View file

@ -109,7 +109,7 @@ mod systems {
if tan_theta.is_normal() { if tan_theta.is_normal() {
lean.lean = tan_theta.atan().clamp(-FRAC_PI_3, FRAC_PI_3); lean.lean = tan_theta.atan().clamp(-FRAC_PI_3, FRAC_PI_3);
} else { } else {
//lean.lean = 0.0; lean.lean *= 0.5;
} }
} }