Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp |
virtual bool WeldToImplementation
(
USceneComponent * InParent,
FName ParentSocketName,
bool bWeldSimulatedChild,
bool bWeldToKinematicParent
)
Remarks
Does the actual work for welding. true if did a true weld of shapes, meaning body initialization is not needed
Parameters
| Name | Description |
|---|---|
| bWeldSimulatedChild | if true, simulated children will be welded onto the parent (default true) |
| bWeldToKinematicParent | if true, children will be welded onto the parent even if the parent is kinematic (default false) |