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 (BlueprintType )
struct FPhysicsControlModifierData
Remarks
Analogous to the ControlData, this indicates how an individual controlled body should move
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bUpdateKinematicFromSimulation | If true then the associated actor's transform will be updated from the simulation when it is kinematic. | |
| uint8: 1 | bUseSkeletalAnimation | If true then the target will be applied on top of the skeletal animation (if there is any) NOTE This is currently only used in the PhysicsControlComponent implementation | |
| TEnumAsByte< ECollisionEnabled::Type > | CollisionType | The collision type. | |
| float | GravityMultiplier | How much gravity to use when simulating - typically between 0 and 1 | |
| EPhysicsMovementType | MovementType | How the body should move. | |
| float | PhysicsBlendWeight | When converting back from simulation to animation, how much to use the simulation output versus the original animation input. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPhysicsControlModifierData
(
const EPhysicsMovementType InMovementType, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | UpdateFromSparseData
(
const FPhysicsControlModifierSparseData& SparseData |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FPhysicsControlModifierData& other |