Navigation
API > API/Plugins > API/Plugins/PhysicsControl > API/Plugins/PhysicsControl/UPhysicsControlComponent
Description
Sets the body (simulated or kinematic) to have the position/velocity etc state that has been cached. Has no effect if there is no cached target data.
| Name | ResetToCachedTarget |
| 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/PhysicsControlComponentImpl.cpp |
void ResetToCachedTarget
(
const FPhysicsBodyModifierRecord & BodyModifier
) const