Tuesday, August 16, 2022
HomeGame DevelopmentAnimation transition interpolation - Cocos Creator

Animation transition interpolation – Cocos Creator


Hello!
Let’s say now we have two animation for ui sprite:

  1. property listing: place at 0 body is 0,0,0. no another frames
  2. property listing: place at 0 body is 1,0,0. no another frames
    Subsequent I setted animation graph with transition between this two animation based mostly on bool situation (play 1 animation when bool parameter is true and play 2 if bool is fake). Transition length is 1s
    What I’m anticipating to see subsequent: when the bool parameter is switching there will likely be an linear interpolation between the values of sprite for 1s.
    What I’ve obtained: first animation is over. After 1s second animation performs
    I can’t perceive this. Can somebody assist please? Is it potential to make interpolation between two animation when transitioning?


RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments