mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
removed reference to get local vector
This commit is contained in:
parent
61a0e67462
commit
d466dddac1
@ -578,8 +578,8 @@ class ShipPilot(PhysicsWalker):
|
|||||||
onScreenDebug.add("w momentumForce len",
|
onScreenDebug.add("w momentumForce len",
|
||||||
"% 10.4f"%momentumForce.length())
|
"% 10.4f"%momentumForce.length())
|
||||||
|
|
||||||
if 1:
|
if 0:
|
||||||
keel = self.keel.getLocalVector()
|
keel = self.keel.getHpr()
|
||||||
onScreenDebug.add("w keel vec",
|
onScreenDebug.add("w keel vec",
|
||||||
keel.pPrintValues())
|
keel.pPrintValues())
|
||||||
if 0:
|
if 0:
|
||||||
|
@ -26,7 +26,8 @@ from PhysicsWalker import PhysicsWalker
|
|||||||
class ShipPilot2(PhysicsWalker):
|
class ShipPilot2(PhysicsWalker):
|
||||||
|
|
||||||
notify = directNotify.newCategory("PhysicsWalker")
|
notify = directNotify.newCategory("PhysicsWalker")
|
||||||
wantDebugIndicator = base.config.GetBool('want-avatar-physics-indicator', 0)
|
wantDebugIndicator = base.config.GetBool(
|
||||||
|
'want-avatar-physics-indicator', 0)
|
||||||
|
|
||||||
useBowSternSpheres = 0
|
useBowSternSpheres = 0
|
||||||
useLifter = 0
|
useLifter = 0
|
||||||
@ -627,10 +628,10 @@ class ShipPilot2(PhysicsWalker):
|
|||||||
onScreenDebug.add("w momentumForce len",
|
onScreenDebug.add("w momentumForce len",
|
||||||
"% 10.4f"%momentumForce.length())
|
"% 10.4f"%momentumForce.length())
|
||||||
|
|
||||||
if 1:
|
## if 1:
|
||||||
keel = self.keel.getLocalVector()
|
## keel = self.keel.getLocalVector()
|
||||||
onScreenDebug.add("w keel vec",
|
## onScreenDebug.add("w keel vec",
|
||||||
keel.pPrintValues())
|
## keel.pPrintValues())
|
||||||
if 0:
|
if 0:
|
||||||
onScreenDebug.add("posDelta4",
|
onScreenDebug.add("posDelta4",
|
||||||
self.priorParentNp.getRelativeVector(
|
self.priorParentNp.getRelativeVector(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user