Interaction during animation

Hey guys,

Is there a way to continue interacting with a character during animation playback?

For example, I’ve created an eyes blinking animation for my character. So now, at the same time, I’d like to track the eyes of my character to an object so I can move this object and so my character would continually stare at this object while the blinking animation is still playing.

Just like in a videogame, where you are able to control a character while he’s still doing autonomous movements like breathing, blinking etc. You know?

Is there a way to do that, maybe some coding could make that? Thank you!

You can turn on automatic keyframing (the button that’s kind of like a “record” button on the timeline).

But for exactly what you’re describing, a constraint makes more sense. Make a bone or an empty, give your eyes (or eye bones) a damped track targeting it, then parent it to something, or move it around during playback, or keyframe it…

No coding necessary here.