Adding recoil

Hello,

I’m trying to implement some recoil animation into the barrel. I’m doing it from Blueprint adding a Timeline, however, I got stuck trying to attach the barrel reference to the timeline node.

It says “Tank Barrel Reference is not compatible with Actor Object Reference”. I also tried to create Blueprint class from the TankBarrel.cpp but it won’t allow me to

Any idea on how to solve this?

Thanks,

Privacy & Terms