Player Controller and Tank

Hi,
How does the relationship work behind the scenes, does the Tank class have an instance of the Player Controller or the other way around? Because since there can be more than one tank instances i am curious about there relationship.

Thanks,
Nupaul

Edit:
How can I learn these types of answers in the future on my own using the documentation?

They each hold a pointer to each other. The pawn spawns the instance of the controller if I recall correctly.

1 Like

Thanks!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms