From cc153677816cc66c2bdef658679a0f23fe6cdbf7 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Tue, 5 Feb 2013 19:13:00 -0500 Subject: [PATCH] Bump the step offset by a tenth of a foot. 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/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysicalControllerCore.cpp b/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysicalControllerCore.cpp index 00c69ec6..fe0210bf 100644 --- a/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysicalControllerCore.cpp +++ b/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysicalControllerCore.cpp @@ -71,7 +71,7 @@ bool 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)