Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ObserverWalker Class Reference
Inheritance diagram for ObserverWalker:
NonPhysicsWalker

Public Member Functions

def deleteCollisions
 
def disableAvatarControls
 
def enableAvatarControls
 
def initializeCollisions
 
def oneTimeCollide
 
def setCollisionsActive
 
- Public Member Functions inherited from NonPhysicsWalker
def __init__
 
def addBlastForce
 
def debugPrint
 
def deleteCollisions
 
def disableAvatarControls
 
def displayDebugInfo
 
def doDeltaPos
 
def enableAvatarControls
 
def flushEventHandlers
 
def getSpeeds
 
def getVelocity
 
def handleAvatarControls
 
def initializeCollisions
 
def oneTimeCollide
 
def placeOnFloor
 
def reset
 
def setAirborneHeightFunc
 
def setAvatar
 
def setCollisionsActive
 
def setFloorBitMask
 
def setTag
 
def setWalkSpeed
 
def setWallBitMask
 
def swapFloorBitMask
 

Public Attributes

 avatarNodePath
 
 collisionsActive
 
 cSphere
 
 cSphereNodePath
 
 cTrav
 
 lifter
 
 pusher
 
- Public Attributes inherited from NonPhysicsWalker
 avatar
 
 avatarControlForwardSpeed
 
 avatarControlReverseSpeed
 
 avatarControlRotateSpeed
 
 avatarNodePath
 
 collisionsActive
 
 cRay
 
 cRayBitMask
 
 cRayNodePath
 
 cSphere
 
 cSphereBitMask
 
 cSphereNodePath
 
 cTrav
 
 getAirborneHeight
 
 lifter
 
 pusher
 
 rotationSpeed
 
 slideSpeed
 
 speed
 
 stopThisFrame
 
 vel
 
 worldVelocity
 

Static Public Attributes

tuple notify = DirectNotifyGlobal.directNotify.newCategory("ObserverWalker")
 
string slideName = "jump"
 
- Static Public Attributes inherited from NonPhysicsWalker
tuple notify = DirectNotifyGlobal.directNotify.newCategory("NonPhysicsWalker")
 
string slideName = "slide-is-disabled"
 
tuple wantDebugIndicator = base.config.GetBool('want-avatar-physics-indicator', 0)
 

Member Function Documentation

def deleteCollisions (   self)
def disableAvatarControls (   self)
Ignore the arrow keys, etc.
def enableAvatarControls (   self)
Activate the arrow keys, etc.
def initializeCollisions (   self,
  collisionTraverser,
  avatarNodePath,
  avatarRadius = 1.4,
  floorOffset = 1.0,
  reach = 1.0 
)
Set up the avatar for collisions
Set up the avatar for collisions
def oneTimeCollide (   self)
Makes one quick collision pass for the avatar, for instance as
a one-time straighten-things-up operation after collisions
have been disabled.
def setCollisionsActive (   self,
  active = 1 
)

Member Data Documentation

avatarNodePath
collisionsActive
cSphere
cSphereNodePath
cTrav
lifter
tuple notify = DirectNotifyGlobal.directNotify.newCategory("ObserverWalker")
static
pusher
string slideName = "jump"
static