tweak: adjusted run headbob frequency and inverted weapon bob

This commit is contained in:
Sara 2025-08-30 00:30:25 +02:00
parent 909e83e779
commit e30758754c
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ void PlayerCamera::update_offset() {
for (Variant child : get_children()) { for (Variant child : get_children()) {
Node3D *child_3d{ cast_to<Node3D>(child) }; Node3D *child_3d{ cast_to<Node3D>(child) };
GETSETM(child_3d, position, { GETSETM(child_3d, position, {
position = -offset; position = offset;
}); });
} }
} }

View file

@ -31,7 +31,7 @@ private:
bool was_running{ false }; bool was_running{ false };
double run_bob_time{ 0.0 }; double run_bob_time{ 0.0 };
double run_bob_amplitude{ 0.025 }; double run_bob_amplitude{ 0.025 };
double run_bob_frequency{ 10.0 }; double run_bob_frequency{ 14.0 };
double run_bob_blend_out{ 0.2 }; double run_bob_blend_out{ 0.2 };
double weapon_lead_limit{ Math::PI * 0.0075 }; double weapon_lead_limit{ Math::PI * 0.0075 };
double weapon_lead_speed{ 0.15 }; double weapon_lead_speed{ 0.15 };