Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APawn
- APawn::PossessedBy()
- ACharacter::PossessedBy()
- ASpectatorPawn::PossessedBy()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
| Include | #include "GameFramework/Pawn.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Pawn.cpp |
virtual void PossessedBy
(
AController * NewController
)
Remarks
Called when this Pawn is possessed. Only called on the server (or in standalone).
Parameters
| Name | Description |
|---|---|
| NewController | The controller possessing this pawn |