Combine animation of object and camera

Colleagues, please tell me how to solve this problem:
I have a scene with an animated camera and an animated plane.
I need to reset the plane’s transforms and transfer the plane’s animation to the camera (as an additional animation).
With a static camera, the task is simple: simply insert the negative values ​​of the object’s transforms into the camera’s transforms.
However, I can’t find a solution if the camera is already animated.
Obviously, placing the animated camera in a group and transferring the object’s animation with negative values ​​to that group is not the right solution.
Reversing the order of the animations assigned to the camera will also produce an incorrect result.
The solution is probably trivial, but my brain refuses to come up with it.

https://vimeo.com/1125410229

Your video link is broken, or video is private.

But so far, honestly, it sounds like the goal is to preserve camera’s animation in relation not to the world, but to the plane, correct? So that you can remove animation on the plane, and camera should still move the same as it did before, relative to the plane.

If so, then all you have to do is basically switch camera space into the plane, remove the animation, and switch it back to world. Tools like reParent or BroTools - MicroRigs can help with that.

The full process would be:

  • Create a locator
  • Parent locator under the Plane
  • Parent-constraint locator to the Camera
  • Bake animation and remove the constraint. Now you have a locator that follows the camera path but it’s parented to the plane.
  • You can now parent constraint the camera to the locator and zero out animation from the plane

At this stage the camera will already move as expected. It will preserve it’s animation relative to the plane, effectively extracting plane trajectory from camera’s trajectory.

If you need, you can bake camera animation back into world space.

You can also bake these stages to layers so it can all be switched on and off.

That’s as far as I can understand what you’re trying to achieve without seeing the video.

1 Like

Thank you very much!
As I expected, the solution is trivial )
It didn’t work correctly for me because I was prematurely moving the locator into world space )

I wish you cheerfulness of spirit, strength, positivity and harmony!

1 Like