Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Interpolate to a tween value

Author
Message
Wilf
Valued Member
18
Years of Service
User Offline
Joined: 1st Jun 2006
Location: Gone to Unity.
Posted: 10th May 2020 08:37
Hey all, referencing my BMW Spine replacement thread over in Showcase: https://forum.thegamecreators.com/thread/221085 - source code attached there.

Can anyone help me interpolate the values between animations?
- Animation 1 finishes
- Animation 2 starts with vastly different position/rotation/scale values
- I need to interpolate the values at the end of anim 1 to the values in anim 2 over time.

I can't figure out if this should be done once on animation 2 start or continuously. Also, creating and deleting temporary tweens feels clunky.
Does anyone have a 'best practise'?

Login to post a reply

Server time is: 2024-11-22 04:45:03
Your offset time is: 2024-11-22 04:45:03