USceneComponent::K2_DetachFromComponent

Syntax

void K2_DetachFromComponent
(
    EDetachmentRule LocationRule,
    EDetachmentRule RotationRule,
    EDetachmentRule ScaleRule,
    bool bCallModify
)

Remarks

Detach this component from whatever it is attached to. Automatically unwelds components that are welded together (See WeldTo)

Parameters

Parameter

Description

LocationRule

How to handle translations when detaching.

RotationRule

How to handle rotation when detaching.

ScaleRule

How to handle scales when detaching.

bCallModify

If true, call Modify() on the component and the current attach parent component

References

Module

Engine

Header

Runtime/Engine/Classes/Components/SceneComponent.h

Source

Runtime/Engine/Private/Components/SceneComponent.cpp