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 SetBodyModifiersUpdateKinematicFromSimulation
&40;
const TArray< FName > & Names,
const bool bUpdateKinematicFromSimulation
&41;
Remarks
Sets whether body modifiers should update kinematics from the simulation results
Parameters
| Name | Description |
|---|---|
| Names | The names of the body modifiers to access. Note that if you have these in a FPhysicsControlNameArray then it can be split. |
| bUpdateKinematicFromSimulation | Whether the body should be updated from the simulation when it is kinematic, or whether it should track the kinematic target directly. This will be most likely useful when using async physics, in order to make kinematic parts behave the same as dynamic ones. |