From 03ecfe00b47e77d4e803e46ca1608ada46869abf Mon Sep 17 00:00:00 2001 From: Skoader Date: Fri, 26 Oct 2012 18:13:22 +1100 Subject: [PATCH] Increase height correction to match graphical representation Provides more accurate interaction with detectors when the avatar is moving up or down. Also decreases the severity of the PhysX trigger hull bug in some detectors. This change doesn't affect world collisions. --- .../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 a5cd51ae..d615f60c 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysicalControllerCore.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plPhysX/plPXPhysicalControllerCore.cpp @@ -73,7 +73,7 @@ int plPXPhysicalControllerCore::fPXControllersMax = 0; #define kCCTSkinWidth 0.1f #define kCCTStepOffset 0.6f #define kCCTZOffset ((fRadius + (fHeight / 2)) + kCCTSkinWidth) -#define kPhysHeightCorrection 0.6f +#define kPhysHeightCorrection 0.8f #define kPhysZOffset ((kCCTZOffset + (kPhysHeightCorrection / 2)) - 0.05f) #define kAvatarMass 200.0f