Panda3D
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
SwimWalker Class Reference
Inheritance diagram for SwimWalker:
NonPhysicsWalker

Public Attributes

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

Static Public Attributes

 notify = DirectNotifyGlobal.directNotify.newCategory("SwimWalker")
 
- Static Public Attributes inherited from NonPhysicsWalker
 notify = DirectNotifyGlobal.directNotify.newCategory("NonPhysicsWalker")
 
str slideName = "slide-is-disabled"
 
 wantDebugIndicator = ConfigVariableBool('want-avatar-physics-indicator', False)
 

Protected Member Functions

 _calcSpeeds (self)
 

Additional Inherited Members

- Public Member Functions inherited from NonPhysicsWalker
 __init__ (self)
 
 addBlastForce (self, vector)
 
 debugPrint (self, message)
 
 deleteCollisions (self)
 
 disableAvatarControls (self)
 
 displayDebugInfo (self)
 
 doDeltaPos (self)
 
 enableAvatarControls (self)
 
 flushEventHandlers (self)
 
 getSpeeds (self)
 
 getVelocity (self)
 
 handleAvatarControls (self, task)
 
 initializeCollisions (self, collisionTraverser, avatarNodePath, avatarRadius=1.4, floorOffset=1.0, reach=1.0)
 
 oneTimeCollide (self)
 
 placeOnFloor (self)
 
 reset (self)
 
 setAirborneHeightFunc (self, getAirborneHeight)
 
 setAvatar (self, avatar)
 
 setCollisionsActive (self, active=1)
 
 setFloorBitMask (self, bitMask)
 
 setTag (self, key, value)
 
 setWalkSpeed (self, forward, jump, reverse, rotate)
 
 setWallBitMask (self, bitMask)
 
 swapFloorBitMask (self, oldMask, newMask)
 

Member Function Documentation

◆ _calcSpeeds()

_calcSpeeds ( self)
protected

Reimplemented from NonPhysicsWalker.

Member Data Documentation

◆ avatarControlReverseSpeed

avatarControlReverseSpeed

◆ avatarControlRotateSpeed

avatarControlRotateSpeed

◆ notify

notify = DirectNotifyGlobal.directNotify.newCategory("SwimWalker")
static

◆ rotationSpeed

rotationSpeed

◆ slideSpeed

slideSpeed

◆ speed

speed