Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > AGameMode
- AGameModeBase::SpawnPlayerFromSimulate()
- AGameMode::SpawnPlayerFromSimulate()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/GameMode.h |
Include | #include "GameFramework/GameMode.h" |
Source | /Engine/Source/Runtime/Engine/Private/GameMode.cpp |
virtual bool SpawnPlayerFromSimulate
(
const FVector & NewLocation,
const FRotator & NewRotation
)
Remarks
Used in the editor to spawn a PIE player after the game has already started