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;
bool ResetBodyModifierToCachedBoneTransform
&40;
const FName Name,
const EResetToCachedTargetBehavior Behavior
&41;
Remarks
This flags the body associated with the modifier to set (using teleport) its position and velocity to the cached animation target. This will only affect skeletal mesh component bodies. true if the body modifier is found (even if no cached target is found), and false otherwise.
Parameters
| Name | Description |
|---|---|
| Name | The name of the body modifier to use to identify the body to reset. |
| Behavior | When the reset should happen. |