AActor::DetachFromActor

Detaches the RootComponent of this Actor from any SceneComponent it is currently attached to.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/Actor.h"

Source

/Engine/Source/Runtime/Engine/Private/Actor.cpp

Syntax

void DetachFromActor
(
    const FDetachmentTransformRules & DetachmentRules
)

Remarks

Detaches the RootComponent of this Actor from any SceneComponent it is currently attached to.

Parameters

Parameter

Description

DetachmentRules

How to handle transforms when detaching.

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