AController::DetachFromPawn

Detach the RootComponent from its parent, but only if bAttachToPawn is true and it was attached to a Pawn.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/Controller.h"

Source

/Engine/Source/Runtime/Engine/Private/Controller.cpp

Syntax

virtual void DetachFromPawn()

Remarks

Detach the RootComponent from its parent, but only if bAttachToPawn is true and it was attached to a Pawn.

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