Hazardus Posted September 28, 2015 Share Posted September 28, 2015 I'm having a little trouble with actions, animations, and callbacks. It looks like there isn't a native way to accomplish what I'm after, but I wanted to check with the experts before I continue. What I'm trying to accomplish: I want to execute an action which fires a function (callback) before and after the animation. I can accomplish the "before" callback by creating using CombineAction, but it appears the onAnimationEnd is out of my scope.. Specifically in this 1st case I've encountered, I'm using the InterpolateValueAction - which appears to create an Animation for me (while giving me no option to inject the onAnimationEnd callback). I looked around in Animatable but it doesn't seem like it is what I need either. I thought maybe I could access the animations array of the mesh but alas, it's empty until the action is invoked. Is there a native way I'm missing? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.