From 078e2f075c5012ce4f63dd3bcd7e1df0e7de9b99 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sun, 3 May 2020 09:34:55 -0600 Subject: [PATCH] Bump the step offset by a tenth of a foot. (Cherry picked from commit cc153677816cc66c2bdef658679a0f23fe6cdbf7) This should keep the avatar from getting stuck on some stupid stuff such as on the pellet machine. A real fix would be to tweak the data, but we cannot do that. --- .../Plasma/PubUtilLib/plPhysX/plPXPhysicalControllerCore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysicalControllerCore.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysicalControllerCore.cpp index 90483b35..6f4b3a37 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysicalControllerCore.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysicalControllerCore.cpp @@ -71,7 +71,7 @@ hsBool plPXPhysicalControllerCore::fDebugDisplay = false; int plPXPhysicalControllerCore::fPXControllersMax = 0; #define kCCTSkinWidth 0.1f -#define kCCTStepOffset 0.6f +#define kCCTStepOffset 0.7f #define kCCTZOffset ((fRadius + (fHeight / 2)) + kCCTSkinWidth) #define kPhysHeightCorrection 0.8f #define kPhysZOffset ((kCCTZOffset + (kPhysHeightCorrection / 2)) - 0.05f)