After the Using Forward Declaration video my Tank bluprint is not working

Hello everyone, I was studying on the UE course in udemy.com. In Battle Tank, 221st video (Video name is Using Forward Declaration) i have changed every UStaticMeshComponent to UTankBarrel as Ben suggested. But after i changed it Tank Blueprint is not working anymore, because in my Tank.cpp file i changed Set Barrel References identifier to UTankBarrel too. So in Tank BP Set Barrel Reference node is broken. I can’t connect barrel with Set Barrel Refference node bc one is Tank Barrel object reference the other one is Static Mesh Component. I also declared another variable which type is Tank Barrel but it is not working too. I don’t know what to change or add. Can you help me?

So you didn’t change the component to be a Tank Barrel component? Because you would need to do that.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms