mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
*** empty log message ***
This commit is contained in:
parent
b4041cd018
commit
d5af5d35c3
@ -84,7 +84,9 @@ class ControlManager:
|
|||||||
def useWalkControls(self):
|
def useWalkControls(self):
|
||||||
assert(self.debugPrint("useWalkControls()"))
|
assert(self.debugPrint("useWalkControls()"))
|
||||||
self.currentControls.disableAvatarControls()
|
self.currentControls.disableAvatarControls()
|
||||||
|
self.currentControls.collisionsOff()
|
||||||
self.currentControls = self.walkControls
|
self.currentControls = self.walkControls
|
||||||
|
self.currentControls.collisionsOn()
|
||||||
if self.isEnabled:
|
if self.isEnabled:
|
||||||
self.currentControls.enableAvatarControls()
|
self.currentControls.enableAvatarControls()
|
||||||
|
|
||||||
|
@ -291,7 +291,7 @@ class GravityWalker(DirectObject.DirectObject):
|
|||||||
self.rotationSpeed = 0
|
self.rotationSpeed = 0
|
||||||
jump = 0
|
jump = 0
|
||||||
|
|
||||||
if 1:
|
if 0:
|
||||||
onScreenDebug.add("airborneHeight", self.lifter.getAirborneHeight()) #*#
|
onScreenDebug.add("airborneHeight", self.lifter.getAirborneHeight()) #*#
|
||||||
onScreenDebug.add("falling", self.falling) #*#
|
onScreenDebug.add("falling", self.falling) #*#
|
||||||
onScreenDebug.add("isOnGround", self.lifter.isOnGround()) #*#
|
onScreenDebug.add("isOnGround", self.lifter.isOnGround()) #*#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user