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 SetBodyModifierKinematicTarget
&40;
const FName Name,
const FVector KinematicTargetPosition,
const FRotator KinematicTargetOrienation,
const bool bMakeKinematic
&41;
Remarks
Sets the kinematic target transform for a body modifier. true if the body modifier was found, false if not
Parameters
| Name | Description |
|---|---|
| Name | The name of the body modifier to access. |
| KinematicTargetPosition | The position to use as the kinematic target of the associated body, if it is kinematic |
| KinematicTargetOrientation | The orientation to use as the kinematic target of the associated body, if it is kinematic |
| bMakeKinematic | If set then the body will be made kinematic. If not set, then it won't be changed. |