Upped maximum vertical speed

This commit is contained in:
Joshua Barretto 2023-06-22 19:34:18 +01:00
parent 98493fd511
commit 9c1a06d1b2

View File

@ -399,7 +399,7 @@ impl<'a> System<'a> for Sys {
} else {
// Reminder: review these frequently to ensure they're reasonable
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: {
let is_velocity_ok = new_vel.0.xy().magnitude_squared() < MAX_H_VELOCITY.powi(2)