Navigation
API > API/Plugins > API/Plugins/PhysicsControl > API/Plugins/PhysicsControl/UPhysicsControlComponent
Description
Allows manual ticking so that your code can run in between updating the target caches and updating the controls. This allows you to read the targets coming from animation and use those values to create your own controls etc.
To use this function, you should disable ticking of the Physics Control Component, and ensure that the relevant Skeletal Mesh Component (if being used) has ticked, using a tick prerequisite. Then explicitly call (in order) UpdateTargetCaches and UpdateControls as you process your tick.
| Name | UpdateTargetCaches |
| 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/PhysicsControlComponent.cpp |
UFUNCTION (BlueprintCallable, Category=PhysicsControl)
void UpdateTargetCaches
(
float DeltaTime
)