HI,
I have a scene component attached to a character and I want to get access to it through the AI controller C++. How would I do this?
I have tried casting like AIBaseCharacter* OwnerPawn = Cast(GetOwner()); But it returns a nullptr
Thank you
HI,
I have a scene component attached to a character and I want to get access to it through the AI controller C++. How would I do this?
I have tried casting like AIBaseCharacter* OwnerPawn = Cast(GetOwner()); But it returns a nullptr
Thank you
I was right with the casting however instead of GetOwner, I should have done GetPawn