Navigation
API > API/Plugins > API/Plugins/PhysicsControl
References
| Module | PhysicsControl |
| Header | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlData.h |
| Include | #include "PhysicsControlData.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FPhysicsControl
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FName | ChildBoneName | The name of the skeletal mesh bone or the name of the static mesh body that the control will be driving. | |
| TObjectPtr< UMeshComponent > | ChildMeshComponent | The mesh that the control will be driving. | |
| FPhysicsControlData | ControlData | Strength and damping parameters. | |
| FPhysicsControlMultiplier | ControlMultiplier | Multiplier for the ControlData. | |
| FPhysicsControlSettings | ControlSettings | More general settings for the control | |
| FPhysicsControlTarget | ControlTarget | The position/orientation etc targets for the controls. | |
| FName | ParentBoneName | The name of the skeletal mesh bone or the name of the static mesh body that will be doing the driving. | |
| TObjectPtr< UMeshComponent > | ParentMeshComponent | The mesh that will be doing the driving. Blank/non-existent means it will happen in world space |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPhysicsControl
(
UMeshComponent* InParentMeshComponent, |