about preAnimation and postAnimation

Hi guys!
I read about sth. in game loop
while(true)
{
mAnimationEngine->preAnimation(dt);//pre-interpolation
update sth. including simulate physics!
mAnimationEnginet->postAnimation(dt);//post-interpolation
}
Can i use panda3d animation to approach this?!?!
Thanks!

Sounds like you want to create separate tasks to do whatever you’ve got in mind for “preAnimation” and “postAnimation”. You can set a sort parameter to each task to control the order in which tasks are run.

David