Navigation
API > API/Plugins > API/Plugins/PhysicsControl
Defines a target position and orientation, and also the target velocity and angular velocity. In many cases the velocities will be calculated automatically (e.g. when setting the target position, the component will optionally calculate an implied velocity. However, the user can also specify a target velocity directly. Note that the velocity influences the control through the damping parameters in FPhysicsControlData
| Name | FPhysicsControlTarget |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlData.h |
| Include Path | #include "PhysicsControlData.h" |
Syntax
USTRUCT (BlueprintType )
struct FPhysicsControlTarget
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPhysicsControlTarget() |
PhysicsControlData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bApplyControlPointToTarget | bool | Whether to use the ControlPoint as an offset for the target transform, as well as the physical body. | PhysicsControlData.h |
|
| TargetAngularVelocity | FVector | The target angular velocity (revolutions per second) of the child body, relative to the parent body | PhysicsControlData.h |
|
| TargetOrientation | FRotator | The target orientation of the child body, relative to the parent body | PhysicsControlData.h |
|
| TargetPosition | FVector | The target position of the child body, relative to the parent body | PhysicsControlData.h |
|
| TargetVelocity | FVector | The target velocity of the child body, relative to the parent body | PhysicsControlData.h |
|