Getting actor to move with keys?

from math import pi,sin, cos

from direct.showbase.ShowBase import ShowBase
from direct.task import Task
from import Actor
from direct.interval.IntervalGlobal import Sequence
from panda3d.core import Point3
from panda3d.core import Filename

winfile= ("c:\\Documents and Settings\Administrator\My Documents\Game\Panda3D-1.7.2\models\art\animals\gorilla-egg\gorilla\gorilla.egg")
pandafile = Filename.fromOsSpecific (winfile)
print pandafile

class MyApp(ShowBase):

    def __init__(self):

        # disable camera controls for mouse

        # Load the environment model.
        self.environ = self.loader.loadModel("models/art/cat-skies/alice-skies--stars-egg/alice-skies--stars/stars.egg")
        # Reparent the model to render.
        # Apply scale and position transforms on the model.
        self.environ.setScale(.25, .25, .25)
        self.environ.setPos(-8, 42, 0)

        #self.taskMgr.add(self.spinCameraTask, "SpinCameraTask")

        #GORILLAS!!!!! Loads and Renders them to SceneGraph
        m= Actor("models/art/animals/gorilla-egg/gorilla/gorilla.egg")

        #Loads Model
        planet= loader.loadModel ("models/art/cat-x2-not-yet-classified/bvw-f2004--planet-egg/bvw-f2004--planet/planet.egg")
        #sets position (x,y,z) of object
        #sets Heading Pitch Rotation (Yaw, Pitch, Roll)
        #sets scale of object
        #Renders object to scene graph
        #defines where camera is (not moving)
app= MyApp()

What do I have to add to get this gorilla to move with up down left and right keys? Please add the correct changes into the code.

We’re not just going to write your code for you. If you want to make a game with Panda, you’ll have to learn to do these things by yourself.

Also, please don’t post this thread three times. It’s pointless and annoying, and isn’t more likely to draw attention.

The Roaming Ralph example demonstrates some simple arrow-key based movement.

I’m asking for a little help with the keys and I looked at roaming ralph and it didn’t help but i figured it out another way.