Navigation
API > API/Plugins > API/Plugins/PhysicsControl > API/Plugins/PhysicsControl/UPhysicsControlComponent
Description
Adds a body modifier to a Set. This will add a new set if necessary. For example, you might make a set of body modifiers called "Feet" by calling this twice, passing in the left and right foot body modifiers.
| Name | AddBodyModifierToSet |
| 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)
void AddBodyModifierToSet
(
FPhysicsControlNames & NewSet,
const FName BodyModifier,
const FName Set
)