Problem whit 3dmax

Hi I have a problem whit the animations.I cant to export them from 3dmax to panda.I export only the models.

import direct.directbase.DirectStart
from direct.task import Task 
from direct.actor.Actor import Actor
from pandac.PandaModules import * 
import sys





#Load the first environment mode
environ = loader.loadModel("models/ssw1.egg")
environ.reparentTo(render)
environ.setScale(0.25,0.25,0.25)
environ.setPos(0,0,0)

#Load the first environment mode
environ = loader.loadModel("models/rr2.egg")
environ.reparentTo(render)
environ.setScale(0.25,0.25,0.25)
environ.setPos(0,0,0)

#base.disableMouse()


ssw1 = loader.loadModel("models/ssw1.egg")

player = ssw1 

dummy=render.attachNewNode("models/ssw1.egg") 
base.camera.reparentTo(dummy) 
dummy.setPos(0,30,0) # 10 = distance between cam and point 
dummy.setH(0) #this will rotate it 60 degrees around the point

base.cam.lookAt(ssw1)


nodePath = Actor("models/er", {"rere":"models/erer.egg"})

nodePath.setPos(0,0,0)
nodePath.reparentTo(render)
nodePath.setScale(0.25,0.25,0.25)
actor=nodePath
actor.play("models/erer.egg", )
actor.loop("models/erer.egg",)
actor.reparentTo(render)
run()

THis willl help you: http://www.panda3d.org/manual/index.php/Converting_from_3D_Studio_Max

After that your code will suppose to look something like:

environ = Actor.Actor("models/rr2.egg", {"walk": "models/rr2-walk.egg",
"jump": "models/rr2-jump.egg",
"other": "models/rr2-other.eggg"})) 

Off course, your egg files are supposed to be located in your directory models.

Enjoy :wink:

I follow the manual by the letter and exporting the model is done, but when i try to export the animation i cant pick any bones :confused: I have tried to export the entire scene but that still doesnt make the animation work :confused:

I dont get any errors it just wont play the animation… :confused:

i just exported yesterday an a animated chest using max2009 and the plugin provided by panda 1.6

i exported both model+anim at the same time and everything worked fine, i can see in pview model+texture+animation without any problem.

c