direct.controls.ObserverWalker¶
from direct.controls.ObserverWalker import ObserverWalker
ObserverWalker.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 inheritancee5eec3da14 { 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=""]; "ObserverWalker" [URL="direct.controls.ObserverWalker.html#direct.controls.ObserverWalker.ObserverWalker",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "NonPhysicsWalker" -> "ObserverWalker" [arrowsize=0.75,style=""]; }- class ObserverWalker[source]¶
Bases:
NonPhysicsWalker- notify = <direct.directnotify.Notifier.Notifier object>¶
- slideName = 'jump'¶