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&40;BlueprintCallable, Category&61;PhysicsControl&41;
void SetControlsInSetUseSkeletalAnimation
&40;
const FName Set,
const bool bUseSkeletalAnimation,
const float SkeletalAnimationVelocityMultiplier
&41;
Remarks
Sets whether or not the controls should use skeletal animation for the targets
Parameters
| Name | Description |
|---|---|
| Set | The set of controls to modify. Standard sets will include "All", "WorldSpace", "ParentSpace" and things like "WorldSpace-ArmLeft", depending on how controls have been created. |
| bUseSkeletalAnimation | If true then the targets will be a combination of the skeletal animation (if there is any) and the control target that has been set |
| SkeletalAnimationVelocityMultiplier | If skeletal animation is being used, then this determines the amount of velocity extracted from the animation that is used as targets for the controls |