Viewing animations in the editor

The animation editor is pretty awesome, but when you have multiple objects that need to be animated together (like 2 characters following a similar path), I was unable to find a way to say, view the animation of char 1 at time x while editing the animation of char2 at time x (the same time). Am I just missing something, or is this feature missing?

My other question is how does one go about viewing an animation at a given frame in the editor? The animation class doesn't seem to like me very much.

Thanks for you help.

1 Answer

1
  1. AFAIK you can only edit one GameObject at a time and you only have one timeline, so watching two different objects at different frames is not possible. Although I like the idea... You could however edit two Objects simultaneously if you'd place them under one parent object. However you are still limited to the one timeline.

  2. I guess you could somehow write your own tool that "forces" an object to set its state to a certain frame. If you expand on that you could build your own tool that plays animations from different objects and different frames, but you'd still be limited to watching. While writing this I also had the idea, that maybe its possible to sample the current state that was set by the animation editor and keep that while switching to another Object. But Im not sure if that's possible. To write a tool for this look at the Animation and AnimationEditorUtility(?) classes. AnimationState.Sample() should be your friend.