Hi, I understand why we dafactored the 2 methods GetControlledTank and GetPlayerTank. What I don’t get (and Ben says he’ll explain why, but he doesn’t until the end of the video) is why assigning them to local variables every Tick.
I created 2 instance variables in tank.h and I assign them the values just once, in BeginPlay(), and it works correctly for me. Is there something I’m not getting?