Can' t set GetCharacterMovement()->bOrientedRotationToMovement = true; In my character class.

Hi Everyone,
I’m trying to set the boolean OrientedRotationToMovement = true; in my character class but I’m getting the error pointer to incomplete type class not allowed. I’ve run into this similar types of problems with missing header files, but added #include “GameFramework/Character.h” but I’m still getting the same error. What am I missing?

include “GameFramework/CharacterMovementComponent.h” should fix your problem