Update animation keyFrames with target position

Is there a better way to update the animation keyFrames with the target position?

Or is there a way to make the animation keyFrames relative to the target position?

  • Create animations
  • Create an animation group
  • Add all animations to animation group
  • play animation group
  • Update keyFrames of each animation in the group with target position in each loop

In this example, every time we rotate the camera (or zoom), the next animation bounce towards the camera

cc @Evgeni_Popov

I would not know how to do it differently…