Panda3D
|
Public Member Functions | |
deleteCollisions (self) | |
disableAvatarControls (self) | |
enableAvatarControls (self) | |
initializeCollisions (self, collisionTraverser, avatarNodePath, avatarRadius=1.4, floorOffset=1.0, reach=1.0) | |
oneTimeCollide (self) | |
setCollisionsActive (self, active=1) | |
![]() | |
__init__ (self) | |
addBlastForce (self, vector) | |
debugPrint (self, message) | |
displayDebugInfo (self) | |
doDeltaPos (self) | |
flushEventHandlers (self) | |
getSpeeds (self) | |
getVelocity (self) | |
handleAvatarControls (self, task) | |
placeOnFloor (self) | |
reset (self) | |
setAirborneHeightFunc (self, getAirborneHeight) | |
setAvatar (self, avatar) | |
setFloorBitMask (self, bitMask) | |
setTag (self, key, value) | |
setWalkSpeed (self, forward, jump, reverse, rotate) | |
setWallBitMask (self, bitMask) | |
swapFloorBitMask (self, oldMask, newMask) | |
Static Public Attributes | |
notify = DirectNotifyGlobal.directNotify.newCategory("ObserverWalker") | |
str | slideName = "jump" |
![]() | |
notify = DirectNotifyGlobal.directNotify.newCategory("NonPhysicsWalker") | |
str | slideName = "slide-is-disabled" |
wantDebugIndicator = ConfigVariableBool('want-avatar-physics-indicator', False) | |
Additional Inherited Members | |
![]() | |
_calcSpeeds (self) | |
deleteCollisions | ( | self | ) |
Reimplemented from NonPhysicsWalker.
disableAvatarControls | ( | self | ) |
Ignore the arrow keys, etc.
Reimplemented from NonPhysicsWalker.
enableAvatarControls | ( | self | ) |
Activate the arrow keys, etc.
Reimplemented from NonPhysicsWalker.
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
Reimplemented from NonPhysicsWalker.
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.
Reimplemented from NonPhysicsWalker.
setCollisionsActive | ( | self, | |
active = 1 ) |
Reimplemented from NonPhysicsWalker.
avatarNodePath |
collisionsActive |
cSphere |
cSphereBitMask |
cSphereNodePath |
cTrav |
lifter |
|
static |
pusher |
|
static |