tweak: adjusted run headbob frequency and inverted weapon bob
This commit is contained in:
parent
909e83e779
commit
e30758754c
|
@ -52,7 +52,7 @@ void PlayerCamera::update_offset() {
|
|||
for (Variant child : get_children()) {
|
||||
Node3D *child_3d{ cast_to<Node3D>(child) };
|
||||
GETSETM(child_3d, position, {
|
||||
position = -offset;
|
||||
position = offset;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ private:
|
|||
bool was_running{ false };
|
||||
double run_bob_time{ 0.0 };
|
||||
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 weapon_lead_limit{ Math::PI * 0.0075 };
|
||||
double weapon_lead_speed{ 0.15 };
|
||||
|
|
Loading…
Reference in a new issue