The Compiler says their’s no #include “APawnTurret.generated.h” but there’s one in the Header file. Any ideas as to why it can’t see it?
You are missing a semicolon on line 9
Check your spelling of Pawn in the .cpp
The first error is giving you the answer to the problem.
The second is due to ()
on the whole expression (which is redundant) instead of just on
(FVector - FVector)
That is not correct. Take a look at this diagram I made earlier
Now instead of the rotation, we want it’s length. So it’s
(FVector - FVector).Size()
1 Like
That makes sense. Thank you so much for your help!!!.
1 Like
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.