mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Somewhat balanced racial running speeds
This commit is contained in:
parent
46b8533681
commit
93632c59af
@ -54,7 +54,7 @@ impl Animation for RunAnimation {
|
||||
let impact = (avg_vel.z).max(-8.0);
|
||||
let speednorm = (speed / 9.4).powf(0.65);
|
||||
|
||||
let lab: f32 = 0.5 / s_a.scaler;
|
||||
let lab: f32 = 0.6 / s_a.scaler.powf(0.75);
|
||||
|
||||
let footrotl = ((1.0 / (0.5 + (0.5) * ((acc_vel * 1.6 * lab + PI * 1.4).sin()).powi(2)))
|
||||
.sqrt())
|
||||
|
Loading…
Reference in New Issue
Block a user