I am trying to set up a character with a spring arm attached using C++ code. I found multiple tutorials that use USpringArmComponent, but when I try to type this into my code, it apparently doesn’t exist. Am I missing something? Is there a #include I need to use? I have already used #include “SpringArmComponent.generated.h”, but it still does not work.
1 Like
Bump.
I am having the same issue. I don’t seem to have any answers on this. Anyone able to help?
(EDIT) I am using UE4.18.2
I found the answer for my problems here:
I am running into the same problem with the tutorials. Apparently there was a change to how includes work in 4.16 called Include What You Use (IWYU) and none of the official tutorials seem to compile now.