@James H - I understand what you are saying. I don't think you've understood what I'm doing. I
don't want to play one models animation on another model. And I don't need any limb or frame info.
This code...
` Load Character model
load object "Goblin.X",1
` Save the idle animation from the object
EnAn_objExtractAnimation 1, "Goblin_Idle.anim",0,29
` Save the stripped object as a .dbo
EnAn_ObjSaveNoAnims 1, "Goblin.dbo"
` Delete the old object
delete object 1
` Load the stripped object
load object "Goblin.dbo",1
` Load the idle anim
IdleAnim = EnAn_AnimLoad("Goblin_Idle.anim")
` Set up and play the idle animation
EnAn_SetDefaultPlaySpeed 15
oacID = EnAn_oacCreate(1)
EnAn_oacPlayAnim oacID, 1, IdleAnim, 0, 0, -1, 1, 0
time = timer()
DO
elapsedTime = timer() - time
time = timer()
EnAn_oacUpdate oacID, elapsedTime
sync
loop
works fine. However, this code...
` Load Character model
load object "Orc.X",1
` Save the idle animation from the object
EnAn_objExtractAnimation 1, "Orc_Idle.anim",0,29
` Save the stripped object as a .dbo
EnAn_ObjSaveNoAnims 1, "Orc.dbo"
` Delete the old object
delete object 1
` Load the stripped object
load object "Orc.dbo",1
` Load the idle anim
IdleAnim = EnAn_AnimLoad("Orc_Idle.anim")
` Set up and play the idle animation
EnAn_SetDefaultPlaySpeed 15
oacID = EnAn_oacCreate(1)
EnAn_oacPlayAnim oacID, 1, IdleAnim, 0, 0, -1, 1, 0
time = timer()
DO
elapsedTime = timer() - time
time = timer()
EnAn_oacUpdate oacID, elapsedTime
sync
loop
does not play the orc's animation. I know the orc has those particular frames, because I can play them back with DBPro's native animation commands. I just can't get Enhanced Animation to play them back.