Animation for multiple weapons on a tank

Hello everyone,

I have made a tank with some meshes that I have modeled, it consist of:

  • Tank Hull (Skeletal mesh)
  • Tank Turret (Skeletal mesh)

The tank is made by following this tutorial: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums
(haven’t done the pitch for the cannon yet)

The thing I want to do is when I press “E” (in my case) I want an animation to play where my tank deploys rockets on the turret and the second time I press “E” I want them to retract, but I am a bit clueless on how to do it since my action input is in the tank hull’s blueprint, while the animation sequence is in the tank turret’s animation blueprint, is there someway to connect them?
Or is there another way to do this?

I will attach some pictures of the blueprints and my setup so you can follow of what I have done so far.

You add separate skeletal mesh components for the turrets and use a play animation node. Alternatively, you can model the turrets as static meshes and use a timeline node to deploy them.

When you write “turrets”, do you mean the rockets? Because I have only one turret on the tank and two “rocket-pods” Anyways, I don’t understand what you are telling me :stuck_out_tongue: I am very new to UE4 which is probably why. Could you try to explain it a bit more?