Hello Forum,
I’ve just finished this lecture and while I understand most of what was discussed, I am struggling to understand some of the math.
In this line:
FVector LineTraceEnd = PlayerViewPointLocation + (PlayerViewPointRotation.Vector() * Reach);
It appears that we are converting the rotation of the player to an X,Y,Z value and then multiplying it by the value of “Reach” (100cm). This is what I don’t understand, how does multiplying the rotation of the player by 100 help us determine the end of our debug line?
If someone could please break this down for me I would really appreciate it as it has me scratching my head.
Cheers.