def __init__(self, gravity = -32.173999999999999, standableGround = 0.70699999999999996, hardLandingForce = 16.0): PhysicsWalker.__init__(self, gravity, standableGround, hardLandingForce) self._ShipPilot__speed = 0.0 self._ShipPilot__rotationSpeed = 0.0 self._ShipPilot__slideSpeed = 0.0 self._ShipPilot__vel = Vec3(0.0) self.currentTurning = 0.0 self.ship = None self.pusher = None self.straightHeading = 0 self.cNodePath = None
def __init__(self, gravity=-32.174, standableGround=0.707, hardLandingForce=16.0): PhysicsWalker.__init__(self, gravity, standableGround, hardLandingForce) self.__speed = 0.0 self.__rotationSpeed = 0.0 self.__slideSpeed = 0.0 self.__vel = Vec3(0.0) self.currentTurning = 0.0 self.ship = None self.pusher = None self.straightHeading = 0 self.cNodePath = None self.actorNode = None return
def setWalkSpeed(self, forward, jump, reverse, rotate): PhysicsWalker.setWalkSpeed(self, forward, 0, reverse, rotate)