Navigation
API > API/Plugins > API/Plugins/PhysicsControl > API/Plugins/PhysicsControl/UPhysicsControlComponent
References
| Module | PhysicsControl |
| Header | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlComponent.h |
| Include | #include "PhysicsControlComponent.h" |
| Source | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Private/PhysicsControlComponent.cpp |
UFUNCTION (BlueprintCallable, Category=PhysicsControl)
TArray< FName > CreateBodyModifiersFromSkeletalMeshBelow
(
USkeletalMeshComponent * SkeletalMeshComponent,
const FName BoneName,
const bool bIncludeSelf,
const FName Set,
const FPhysicsControlModifierData BodyModifierData
)
Remarks
Creates new body modifiers for skeletal mesh components
Parameters
| Name | Description |
|---|---|
| SkeletalMeshComponent | The skeletal mesh which will have body modifiers |
| BoneName | The bone name below which modifiers should be created |
| bIncludeSelf | Whether or not to include BoneName when creating modifiers |
| Set | Which set to include the body modifier in (optional). Note that it automatically gets added to the set "All" |
| BodyModifierData | The initial properties of the modifier |