From 0fdeca198cb5c10533110b989c7608de9ea42468 Mon Sep 17 00:00:00 2001 From: Waridley Date: Fri, 19 Jan 2024 14:49:27 -0600 Subject: [PATCH 1/3] DIY kinematic character controller Fixes some bugs, introduces some others, better overall. Now high rendering framerates are actually better, as expected. Low framerates have tunnelling and jitter issues. --- .idea/runConfigurations/Run__debug_.xml | 4 +- rs/assets/pickups/pickup_material.mat.ron | 2 +- rs/src/lib.rs | 21 +- rs/src/pickups.rs | 7 +- rs/src/player.rs | 120 +++--- rs/src/player/camera.rs | 8 +- rs/src/player/ctrl.rs | 462 +++++++++++++++------- rs/src/player/input.rs | 3 +- rs/src/util.rs | 39 +- 9 files changed, 430 insertions(+), 236 deletions(-) diff --git a/.idea/runConfigurations/Run__debug_.xml b/.idea/runConfigurations/Run__debug_.xml index 0c111ef..4bd733a 100644 --- a/.idea/runConfigurations/Run__debug_.xml +++ b/.idea/runConfigurations/Run__debug_.xml @@ -9,7 +9,9 @@