Thanks, the #include discrepancy is a persistent problem in these tutorials in newer versions of UE4 because of the changes they have made for better performance.
If he says so, this one below is causing a compile failure for me right now (the GetWorld() bug does not), and so must be fixed. Don’t know what it is, already tried #include “Runtime/Engine/Classes/GameFramework/PlayerController.h” and it did not work, still compile failure.
Ok nevermind, just a typo. I typed FRotator PlayViewPointRotation; instead of FRotator PlayerViewPointRotation; the way I was supposed to… just thinking too fast I geuss, or not at all whatever the case may be I dunno.
Thanks for the help. I was a bit confused since the Unreal docs at the following link seems to suggest that a different header should be included. Still getting to know the documentation.
I have a link to a website that suggests #include "DrawDebugHelpers.h"
is the file that you must include.
I have also tried both #includes and only “DrawDebugHelpers.h” works.
The Documentation suggests usage of "Kismet/KismetSystemLibrary.h " [Link Here]
But what actually worked for me was the header you told, i.e. “DrawDebugHelpers.h”.
I was wondering if the header mentioned in Docs is wrong? And if it is not wrong, then why DrawDebugHelpers.h actually worked? Isn’t this redundant to define same functionality in two headers?