create actor model

Hello!
i won’t to create an actor to import it in a game. How i create a model? Can i use blender program to create a model and its animations?
Thanks for all

Oki…
I start using blender 2.58 but i don’t understand how export a mesh as an actor.
I make a cube with an connected armature that rotates the cube of 360° in 20frames. I select the cube and the armature. than File->export->DirectX(.x). Use left-Handed and export Amatures. Animation is none and Export is Selected Objects. I export with this configure to cube.x file.
Than I export with only armature selected, the animation with same configuration but animation select is set to Full Animation. I export the animation in cube_rot.x in the same folder

I try to import my actor with this code:

from direct.showbase.ShowBase import ShowBase
from direct.actor.Actor import Actor

class MyApp(ShowBase):
    def __init__(self):
        ShowBase.__init__(self)

        self.obj = Actor("cubo.x", {"rot" : "cubo_rot.x"})
        self.obj.reparentTo(self.render)
        self.obj.setPos(-3,7,5)
        self.obj.loop("rot")
        self.cam.lookAt(self.obj)


app = MyApp()
app.run()

but when i run it this shows in the terminal:

Known pipe types:
  glxGraphicsPipe
(all display modules loaded.)
AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up
:Actor(warning): cubo.x is not a character!
Traceback (most recent call last):
  File "prova.py", line 15, in <module>
    app = MyApp()
  File "prova.py", line 11, in __init__
    self.obj.loop("rot")
  File "/usr/share/panda3d/direct/actor/Actor.py", line 1555, in loop
    for control in self.getAnimControls(animName, partName):
  File "/usr/share/panda3d/direct/actor/Actor.py", line 1849, in getAnimControls
    allowAsyncBind = allowAsyncBind)
  File "/usr/share/panda3d/direct/actor/Actor.py", line 2341, in __bindAnimToPart
    bundle = self.__commonBundleHandles[subpartDef.truePartName].getBundle()
KeyError: 'modelRoot'

Help me please!!!
thanks!