Hi all,
I did the forward declaration thing at the beginning of the lecture where we introduce an error and then add in the UPROPERTY() and class to the header file - all went as planned as per the lecture.
However when I went and constructed the capsule I kept getting a number of errors that I couldn’t solve, I checked everything for syntax error/Spelling errors nothing worked …
Until I removed the UPROPERTY() and the class and put in the header file for the UCapsuleCollider ie:
- #include “Components/CapsuleComponent.h”
So, all that talk about not needed the header files for certain components didn’t work. Not happy Jan!
That was a waste of 1/2 hour.