Hello everyone!
For me that was a nice idea to visualize what really happens on a field by drawing some Lines (using the DrawDebugLine function known from BuildingEscape part of the course):
- Look Line;
- Aim line.
This shows how AI actually aims:
And how the Player aims:
And it is nice to put UPROPERTY booleans in TankPlayerController.h and Tank.h to switch those lines in editor:
TankPlayerControllerBP:
TankBP: