RalphEl Posted October 17, 2015 Share Posted October 17, 2015 Hi ! is there is possible to make smooth skeletal animation transition between two animations,,, from "IDDLE" to "RUN" ,,,,, from "RUN" to iddle also I would need to get current animation frame, or set animation frame. Quote Link to comment Share on other sites More sharing options...
reddozen Posted October 17, 2015 Share Posted October 17, 2015 we've been talking about this kind of thing a lot lately. Currently I don't think there's a simple solution to this. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 18, 2015 Share Posted October 18, 2015 Hello reddozen is right. For your 2nd question: when using scnee.beginAnimation, the function returns an animatable object. you can use this object to pause, stop or reset the global animation.You can also call animatable.getAnimationByTargetProperty to get the animation associated with a given property. the animatable object contains all the sub-animations currently running (animatable.getAnimations()) for each animation, you can get the current frame with animation.currentFrame Quote Link to comment Share on other sites More sharing options...
EJanuszewski Posted October 18, 2015 Share Posted October 18, 2015 Obviously I don't know much about this, but is it not possible to make an animation that, let's say... Walks and transitions to a run, let's say the walk is frame 0-100, run, is 100-250, could you maybe override the animation object to reset to frame 0 when it hits 100 if the run button isn't currently being pressed for example, and likewise the other way, once running you could start the animation at frame 100? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.