Originally posted by Vahid
View Post
To get the pointer from a TWeakObjectPtr is done through .Get() like so: ASCharacter* MyPawn = PawnInstigator.Get() This returns the pointer IF it still exists, so make sure you check for nullptr after (if (PawnInstigator != nullptr) { }) before using it.
Hope that helps.
Comment