direct.controls.GhostWalker

from direct.controls.GhostWalker import GhostWalker

GhostWalker.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 inheritancea8781ba036 { 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"]; "GhostWalker" [URL="direct.controls.GhostWalker.html#direct.controls.GhostWalker.GhostWalker",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "NonPhysicsWalker" -> "GhostWalker" [arrowsize=0.75,style=""]; "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 GhostWalker[source]

Bases: NonPhysicsWalker

notify = <direct.directnotify.Notifier.Notifier object>
slideName = 'jump'