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 SetBodyModifiersInSetUpdateKinematicFromSimulation
&40;
const FName Set,
const bool bUpdateKinematicFromSimulation
&41;
Remarks
Sets whether body modifiers should update kinematics from the simulation results
Parameters
| Name | Description |
|---|---|
| Set | The set of body modifiers to modify. Standard sets will include "All" and things like "ArmLeft", depending on how body modifiers have been created. |
| 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. |