Navigation
API > API/Plugins > API/Plugins/PhysicsControl
Structure that determines a "control" - this contains all the information needed to drive (with spring-dampers) a child body relative to a parent body. These bodies will be associated with either a static or skeletal mesh.
| Name | FPhysicsControl |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlData.h |
| Include Path | #include "PhysicsControlData.h" |
Syntax
USTRUCT (BlueprintType )
struct FPhysicsControl
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| PhysicsControlData.h | |||
FPhysicsControl
(
const FName& InParentBoneName, |
PhysicsControlData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ChildBoneName | FName | The name of the skeletal mesh bone or the name of the static mesh body that the control will be driving. | PhysicsControlData.h |
|
| ControlData | FPhysicsControlData | Strength and damping parameters. | PhysicsControlData.h |
|
| ControlMultiplier | FPhysicsControlMultiplier | Multiplier for the ControlData. | PhysicsControlData.h |
|
| ParentBoneName | FName | The name of the skeletal mesh bone or the name of the static mesh body that will be doing the driving. | PhysicsControlData.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsEnabled() |
Indicates if the control is enabled. | PhysicsControlData.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FPhysicsControl& other |
PhysicsControlData.h |