unable to open NavMovementComponent?
Hey, I'm really out of Options here.`ACharacter* MyCharacter = UGameplayStatics::GetPlayerCharacter(this, 0); MyCharacter->GetMovementComponent()->MovementState.bCanJump = false; `
The second line is producing following errors
The engine doesn't seem ( i assume) capable of opening NavMovementComponent.h where MovementState is defined. What could be the reason? If I try to inlcude the Header, it Fails... I appreciate every Kind of healp :)
asked Oct 19 '17 at 10:41 AM in C++ Programming
Have you included the headers for both Character and MovementComponent? Seems like it firstly can't resolve the Character reference.
answered Oct 19 '17 at 02:32 PM
Great, it's finally working. Thank you for the help (thought it was a stupid mistake, but it surprises me every time again how easy it was afterwords)
answered Oct 20 '17 at 11:57 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here