create actor model

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

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 import Actor

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

        self.obj = Actor("cubo.x", {"rot" : "cubo_rot.x"})

app = MyApp()

but when i run it this shows in the terminal:

Known pipe types:
(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 "", line 15, in <module>
    app = MyApp()
  File "", line 11, in __init__
  File "/usr/share/panda3d/direct/actor/", line 1555, in loop
    for control in self.getAnimControls(animName, partName):
  File "/usr/share/panda3d/direct/actor/", line 1849, in getAnimControls
    allowAsyncBind = allowAsyncBind)
  File "/usr/share/panda3d/direct/actor/", line 2341, in __bindAnimToPart
    bundle = self.__commonBundleHandles[subpartDef.truePartName].getBundle()
KeyError: 'modelRoot'

Help me please!!!