Using easing with native moving with a curve

https://developer.playcanvas.com/en/tutorials/camera-following-a-path/

I`ve seen that example. I have two questions.

  1. Is it possible to use easing the same as in tweening motion in curve path motion? How should I do it?
  2. Is it possible to have multiple objects animated by different curve paths in the same time (or one after other)?

Hi @mdesign,

  1. The Curve class provides a few other than linear interpolation schemes. You will have to update it in code:

https://developer.playcanvas.com/api/pc.Curve.html#type

  1. You can reuse the same script, update it to target a different entity other than the camera.
1 Like

Thanks a lot.