AGameModeBase::RestartPlayerAtTransform

Tries to spawn the player's pawn at a specific location

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/GameModeBase.h

Include

#include "GameFramework/GameModeBase.h"

Source

/Engine/Source/Runtime/Engine/Private/GameModeBase.cpp

Syntax

virtual void RestartPlayerAtTransform
(
    AController * NewPlayer,
    const FTransform & SpawnTransform
)

Remarks

Tries to spawn the player's pawn at a specific location

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss