From e56f931951c87be36f64c3d5fde4988dd1c0bf7d Mon Sep 17 00:00:00 2001 From: yuni Date: Sat, 8 Jun 2024 04:13:53 +0200 Subject: [PATCH] ignore gforce for 0.01s on startup, to survive a large starting velocity --- src/actor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actor.rs b/src/actor.rs index 81c4151..7baef30 100644 --- a/src/actor.rs +++ b/src/actor.rs @@ -128,7 +128,7 @@ impl Default for ExperiencesGForce { visual_effect_threshold: 20.0, visual_effect: 0.0, last_linear_velocity: DVec3::splat(0.0), - ignore_gforce_seconds: 0.0, + ignore_gforce_seconds: 0.01, } } }