And you’re sure AimTowardsCrosshair
is being called?
I mean, it’s in the code. Where did I go wrong? Where else am I missing AimTowardsCrosshair if the case is that I’m missing AimTowardsCrosshair in other files except for TankPlayerController?
Did you add a log to test it?
I did
void AimTowardsCrosshair();
in TankPlayerController.h.
So you didn’t call it?
I put it in private. Was I not supposed to?
May I suggest you start at section 1 again? Calling a function is basic level programming, you should not be this stuck on fundamentals at this stage.