mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Upped maximum vertical speed
This commit is contained in:
parent
98493fd511
commit
9c1a06d1b2
@ -399,7 +399,7 @@ impl<'a> System<'a> for Sys {
|
|||||||
} else {
|
} else {
|
||||||
// Reminder: review these frequently to ensure they're reasonable
|
// Reminder: review these frequently to ensure they're reasonable
|
||||||
const MAX_H_VELOCITY: f32 = 75.0;
|
const MAX_H_VELOCITY: f32 = 75.0;
|
||||||
const MAX_V_VELOCITY: std::ops::Range<f32> = -100.0..50.0;
|
const MAX_V_VELOCITY: std::ops::Range<f32> = -100.0..80.0;
|
||||||
|
|
||||||
'rejection: {
|
'rejection: {
|
||||||
let is_velocity_ok = new_vel.0.xy().magnitude_squared() < MAX_H_VELOCITY.powi(2)
|
let is_velocity_ok = new_vel.0.xy().magnitude_squared() < MAX_H_VELOCITY.powi(2)
|
||||||
|
Loading…
Reference in New Issue
Block a user