direct.controls.NonPhysicsWalker

from direct.controls.NonPhysicsWalker import NonPhysicsWalker

NonPhysicsWalker.py is for avatars.

A walker control such as this one provides:

  • creation of the collision nodes

  • handling the keyboard and mouse input for avatar movement

  • moving the avatar

it does not:

  • play sounds

  • play animations

although it does send messages that allow a listener to play sounds or animations based on walker events.

Inheritance diagram

digraph inheritance4fa82cc0b9 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DirectObject" [URL="direct.showbase.DirectObject.html#direct.showbase.DirectObject.DirectObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="This is the class that all Direct/SAL classes should inherit from"]; "NonPhysicsWalker" [URL="direct.controls.NonPhysicsWalker.html#direct.controls.NonPhysicsWalker.NonPhysicsWalker",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "DirectObject" -> "NonPhysicsWalker" [arrowsize=0.75,style=""]; }
class NonPhysicsWalker[source]

Bases: DirectObject

notify = <direct.directnotify.Notifier.Notifier object>
slideName = 'slide-is-disabled'
wantDebugIndicator = 0