嗨,感谢您的回答,我试过了,但现在我在运行 qicli 时收到此错误 call ALBehaviorManager.startBehavior 'myanimations/myanimations/Disengage/15fps/alpha0.5' 错误:ALBehaviorManager::startBehavior behavior myanimations/myanimations/Disengage/15fps /alpha0.5 failed to load: ALFrameManager::createBehavior FMBox::createPythonModule _Behavior__myanimationsmyanimationsDisengage15fpsalpha051386748584:/: User class evaluation failed with the error: ('invalid syntax', ('', 1, 88, 'class _29fa2578a53152cebf36d236019353c9(_29fa2578a53152cebf36d236019353c9Generated): def init (self): _29fa2578a53152cebf36d236019353c9Generated.init(self) 通过 def onLoad(self): self.oldfps = self.getTimeline().getFPS() pass def onUnload(self): self.getTimeline().setFPS(self.oldfps) pass def onInput_onStart(self): newfps = (self.oldfps * self.getParameter("FPS (%)")) / 100 self.getTimeline().setFPS(newfps) pass def onInput_onStop(self): onUnload() pass\n'))
当我通过 choregraphe 运行动画时效果很好