From fcadfa3d40e750908853a83426a5d727bf397d90 Mon Sep 17 00:00:00 2001 From: Mark Mine Date: Thu, 19 Dec 2002 23:13:14 +0000 Subject: [PATCH] Change orbital mode --- direct/src/directdevices/DirectJoybox.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/directdevices/DirectJoybox.py b/direct/src/directdevices/DirectJoybox.py index a3ddad6cfe..62d035bc0d 100644 --- a/direct/src/directdevices/DirectJoybox.py +++ b/direct/src/directdevices/DirectJoybox.py @@ -369,9 +369,9 @@ class DirectJoybox(PandaObject): DirectJoybox.hprMultiplier) posScale = (self.normalizeChannel(R_SLIDE, 0.1, 100) * DirectJoybox.xyzMultiplier) - r = -0.01 * posScale * self.aList[R_FWD_BACK] * self.deltaTime + r = -0.01 * posScale * self.aList[R_TWIST] * self.deltaTime rx = hprScale * self.aList[R_LEFT_RIGHT] * self.deltaTime - ry = hprScale * self.aList[R_TWIST] * self.deltaTime + ry = -hprScale * self.aList[R_FWD_BACK] * self.deltaTime x = posScale * self.aList[L_LEFT_RIGHT] * self.deltaTime z = posScale * self.aList[L_FWD_BACK] * self.deltaTime h = -1 * hprScale * self.aList[L_TWIST] * self.deltaTime