AGameMode::SpawnPlayerFromSimulate

Used in the editor to spawn a PIE player after the game has already started

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

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

Syntax

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