Navigation
API > API/Plugins > API/Plugins/PhysicsControl > API/Plugins/PhysicsControl/UPhysicsControlComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool DestroyBodyModifier
(
const FName Name, |
Destroys the modifier. It will optionally be removed from the array of records too | PhysicsControlComponent.h | |
void DestroyBodyModifier
(
const FName Name, |
Destroys a body modifier or body modifiers in a set Standard sets will include "All" and things like "ArmLeft", depending on how body modifiers have been created. | PhysicsControlComponent.h |
|
DestroyBodyModifier(const FName, const EDestroyBehavior)
Description
Destroys the modifier. It will optionally be removed from the array of records too
| Name | DestroyBodyModifier |
| Type | function |
| Header File | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlComponent.h |
| Include Path | #include "PhysicsControlComponent.h" |
| Source | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Private/PhysicsControlComponentImpl.cpp |
bool DestroyBodyModifier
(
const FName Name,
const EDestroyBehavior DestroyBehavior
)
DestroyBodyModifier(const FName, const bool, const bool)
Description
Destroys a body modifier or body modifiers in a set Standard sets will include "All" and things like "ArmLeft", depending on how body modifiers have been created.
| Name | DestroyBodyModifier |
| Type | function |
| Header File | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlComponent.h |
| Include Path | #include "PhysicsControlComponent.h" |
| Source | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Private/PhysicsControlComponent.cpp |
UFUNCTION (BlueprintCallable, Category=PhysicsControl, Meta=(ReturnDisplayName="Success"))
void DestroyBodyModifier
(
const FName Name,
const bool bApplyToModifiersWithName,
const bool bApplyToSetsWithName
)
Parameters
| Name | Remarks |
|---|---|
| Name | The name of the body modifier or set of body modifiers to destroy. |
| bApplyToModifiersWithName | If true, then body modifiers with the name will be modified |
| bApplyToSetsWithName | If true, then body modifiers in sets with the name will be modified |