Lerping does linear interpolation, smoothstep does ease-in-out interpolation. Does PlayCanvas have any built-in functionality to do ease-in only?
And, I suppose while I’m at it, does PlayCanvas have any built in functionality for doing custom easing curves?
If not, are there any commonly used lightweight JS interpolation libraries that people would recommend using?
vaios
#2
Great, thanks @vaios! I’ll look in to that!
tankun
#4
Hi,
I’m new to PlayCanvas and not quite sure how to implement curves into animation.
Your tutorial with curves is not working at the moment, so I’m stuck.
Animate entities with curves
https://playcanvas.com/editor/scene/475824
Please check it out, thanks.
vaios
#5
Hi - What’s not working exactly? That link you pasted seems alright to me?
tankun
#6
Oh yes. It is now. Probably it was a temporary thing then. Thanks a lot.
1 Like