Small Improvement for a Challenge to visualise what happens on the scene

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:
TPCeditor

TankBP:
Teditor

1 Like

Thanks for sharing this helpful input.

Privacy & Terms