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, Meta=(ReturnDisplayName="Success"))
bool SetBodyModifierUseSkeletalAnimation
(
const FName Name,
const bool bUseSkeletalAnimation
)
Remarks
Sets whether a body modifier should use skeletal animation for its kinematic targets true if the body modifier was found, false if not
Parameters
| Name | Description |
|---|---|
| Name | The name of the body modifier to access. |
| bUseSkeletalAnimation | Whether the kinematic target is specified in the frame of the skeletal animation, rather than world space. Only relevant if the body is part of a skeletal mesh. |