AActor::K2_DetachFromActor

Syntax

void K2_DetachFromActor
(
    EDetachmentRule LocationRule,
    EDetachmentRule RotationRule,
    EDetachmentRule ScaleRule
)

Remarks

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

Parameters

Parameter

Description

LocationRule

How to handle translation when detaching.

RotationRule

How to handle rotation when detaching.

ScaleRule

How to handle scale when detaching.

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h

Source

Runtime/Engine/Private/Actor.cpp