Woow thanks @pshipkov !!!Really useful to animate something flying/swimming!I tweaked a bit the original code to set a rotation key with a value which aim to the object's position 2 frames in the futur. Basically, it's orienting the object to follow the animation.

I guess the code is quite dirty, I'm only an animator, not a coder :DI'm creating a temp locator, getting object's xform 2 frames later, applying to locator translate, going back on current frame, applying 'lookAt()', with the locator as aim

Insert Photos

If your URL is correct, you'll see an image preview here. Large images may take a few minutes to appear. Remember: Using others' images on the web without their permission may be bad manners, or worse, copyright infringement.