update happy_feet (#58)

This commit is contained in:
PROMETHIA-27
2025-07-19 17:35:15 -04:00
committed by GitHub
parent 0e8b0bb677
commit 4c23288511
3 changed files with 4 additions and 2 deletions

2
Cargo.lock generated
View File

@@ -3665,7 +3665,7 @@ dependencies = [
[[package]]
name = "happy_feet"
version = "0.1.0"
source = "git+https://github.com/rustunit/happy_feet.git?rev=e4e57c50ba5b5e0be5166e9e4eb629dc1d616a0d#e4e57c50ba5b5e0be5166e9e4eb629dc1d616a0d"
source = "git+https://github.com/PROMETHIA-27/happy_feet.git?rev=5a87760d8a7970c74e07f30bc31ceaafad9a69b6#5a87760d8a7970c74e07f30bc31ceaafad9a69b6"
dependencies = [
"avian3d",
"bevy",

View File

@@ -23,7 +23,7 @@ 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", features = ["avian"] }
happy_feet = { git = "https://github.com/rustunit/happy_feet.git", rev = "e4e57c50ba5b5e0be5166e9e4eb629dc1d616a0d" }
happy_feet = { git = "https://github.com/PROMETHIA-27/happy_feet.git", rev = "5a87760d8a7970c74e07f30bc31ceaafad9a69b6" }
lightyear = { git = "https://github.com/cBournhonesque/lightyear.git", rev = "03cbf419a2c0595261b64420bc0332fc3fe1cc3f", default-features = false, features = [
"interpolation",
"netcode",

View File

@@ -215,6 +215,7 @@ const RUNNING_MOVEMENT_CONFIG: MovementConfig = MovementConfig {
max_distance: 0.2,
snap_to_surface: true,
up_direction: Dir3::Y,
max_iterations: 2,
},
gravity: CharacterGravity(Some(vec3(0.0, -60.0, 0.0))),
friction: GroundFriction(10.0),
@@ -241,6 +242,7 @@ const FLYING_MOVEMENT_CONFIG: MovementConfig = MovementConfig {
max_distance: -1.0,
snap_to_surface: false,
up_direction: Dir3::Y,
max_iterations: 2,
},
gravity: CharacterGravity(Some(Vec3::ZERO)),
friction: GroundFriction(0.0),