Change orbital mode

This commit is contained in:
Mark Mine 2002-12-19 23:13:14 +00:00
parent 62208fa7cc
commit fcadfa3d40

View File

@ -369,9 +369,9 @@ class DirectJoybox(PandaObject):
DirectJoybox.hprMultiplier) DirectJoybox.hprMultiplier)
posScale = (self.normalizeChannel(R_SLIDE, 0.1, 100) * posScale = (self.normalizeChannel(R_SLIDE, 0.1, 100) *
DirectJoybox.xyzMultiplier) 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 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 x = posScale * self.aList[L_LEFT_RIGHT] * self.deltaTime
z = posScale * self.aList[L_FWD_BACK] * self.deltaTime z = posScale * self.aList[L_FWD_BACK] * self.deltaTime
h = -1 * hprScale * self.aList[L_TWIST] * self.deltaTime h = -1 * hprScale * self.aList[L_TWIST] * self.deltaTime