Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AActor
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 |
UFUNCTION (BlueprintCallable, Meta=(DisplayName="Detach From Actor", ScriptName="DetachFromActor"),
Category="Transformation")
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
| Name | Description |
|---|---|
| LocationRule | How to handle translation when detaching. |
| RotationRule | How to handle rotation when detaching. |
| ScaleRule | How to handle scale when detaching. |