Best way to Constrain two actors based on frame in animated behavior
I am creating a game that spawns an animated actor (eye blinking) and need help aligning 2 actors based on the frame in the animation. For example, when I spawn the first Actor (Left eye), it starts the blinking sequence I have created in the animation behavior. When I spawn the second Actor (Right eye), I want that actor to blink at the same time as the first eye. In other words I want the eyes to blink together.
I thought maybe I could create a game attribute that is tied to which frame an actor is on in the animation sequence, but that doesn't seem feasible and it seems like I might be overcomplicating this.
Any advice would be appreciated.
I thought maybe I could create a game attribute that is tied to which frame an actor is on in the animation sequence, but that doesn't seem feasible and it seems like I might be overcomplicating this.
Any advice would be appreciated.
Answers