Is it possible, in a simple way, to run an animation from keyframe X to keyframe Y? I.e. from keyframe 2 to keyframe3.
Is it possible, in a simple way, to run an animation from keyframe X to keyframe Y? I.e. from keyframe 2 to keyframe3.
To sklp to the next keyframe you could try stopping the animation after a breathe and then use Animation.resume(RESUME_AT_NEXT_KEYFRAME). Then if you know the time between the keyframes* you can stop it finally at the third keyframe. Using that technique it should be quite simple to create a subflow to run based on passed parameters - startkeyframe and numkeyframes.
Example attached.
* You can find the duration of the keyframes from the difference in keyframe node values (from the tree). If you've specified a different duration when starting the animation then you'll need to calculate the effective keyframe intervals on a pro-rata basis assuming they are scaled linearly.
14 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved