What does this mean in UE4 CPP?

void AAI_Chase_Controller::OnPossess(APawn* MyPawn)
{
Super::OnPossess(MyPawn);
}

This is the line of code that will be using the OnPossess() as you stated before APawn does already exist in the memory, after Super::OnPossess(MyPawn); has been called to run, every time the system try to use MyPawn, MyPawn will be pointing the APawn class? So that it could get the components?

1 Like