Navigation
API > API/Plugins > API/Plugins/PhysicsControl
Strength and damping etc parameters that will affect a control, with flags indicating whether each element should get used.
| Name | FPhysicsControlSparseData |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlData.h |
| Include Path | #include "PhysicsControlData.h" |
Syntax
USTRUCT (BlueprintType )
struct FPhysicsControlSparseData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPhysicsControlSparseData() |
PhysicsControlData.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AngularDampingRatio | float | The amount of damping associated with the angular strength. | PhysicsControlData.h |
|
| AngularExtraDamping | float | The amount of additional angular damping. | PhysicsControlData.h |
|
| AngularStrength | float | The strength used to drive angular motion | PhysicsControlData.h |
|
| AngularTargetVelocityMultiplier | float | Multiplier on the angular velocity, which gets applied to the damping. | PhysicsControlData.h |
|
| bDisableCollision | uint8 | Whether or not this control should disable collision between the parent and child bodies (only has an effect if there is a parent body) | PhysicsControlData.h |
|
| bEnableAngularDampingRatio | uint8 | PhysicsControlData.h |
|
|
| bEnableAngularExtraDamping | uint8 | PhysicsControlData.h |
|
|
| bEnableAngularStrength | uint8 | PhysicsControlData.h |
|
|
| bEnableAngularTargetVelocityMultiplier | uint8 | PhysicsControlData.h |
|
|
| bEnablebDisableCollision | uint8 | PhysicsControlData.h |
|
|
| bEnablebEnabled | uint8 | PhysicsControlData.h |
|
|
| bEnablebOnlyControlChildObject | uint8 | PhysicsControlData.h |
|
|
| bEnablebUseCustomControlPoint | uint8 | PhysicsControlData.h |
|
|
| bEnablebUseSkeletalAnimation | uint8 | PhysicsControlData.h |
|
|
| bEnableCustomControlPoint | uint8 | PhysicsControlData.h |
|
|
| bEnabled | uint8 | Whether this control should be enabled | PhysicsControlData.h |
|
| bEnableLinearDampingRatio | uint8 | PhysicsControlData.h |
|
|
| bEnableLinearExtraDamping | uint8 | PhysicsControlData.h |
|
|
| bEnableLinearStrength | uint8 | Flags for sparse access. | PhysicsControlData.h |
|
| bEnableLinearTargetVelocityMultiplier | uint8 | PhysicsControlData.h |
|
|
| bEnableMaxForce | uint8 | PhysicsControlData.h |
|
|
| bEnableMaxTorque | uint8 | PhysicsControlData.h |
|
|
| bOnlyControlChildObject | uint8 | If true then the control will only affect the child object, not the parent | PhysicsControlData.h |
|
| bUseCustomControlPoint | uint8 | Whether or not to use the custom control point position | PhysicsControlData.h |
|
| bUseSkeletalAnimation | uint8 | If true then the target will be applied on top of the skeletal animation (if there is any) | PhysicsControlData.h |
|
| CustomControlPoint | FVector | The position of the control point relative to the child mesh, when using a custom control point. | PhysicsControlData.h |
|
| LinearDampingRatio | float | The amount of damping associated with the linear strength. | PhysicsControlData.h |
|
| LinearExtraDamping | float | The amount of additional linear damping. | PhysicsControlData.h |
|
| LinearStrength | float | The strength used to drive linear motion | PhysicsControlData.h |
|
| LinearTargetVelocityMultiplier | float | Multiplier on the linear velocity, which gets applied to the damping. | PhysicsControlData.h |
|
| MaxForce | float | The maximum force used to drive the linear motion. Zero indicates no limit. | PhysicsControlData.h |
|
| MaxTorque | float | The maximum torque used to drive the angular motion. Zero indicates no limit. | PhysicsControlData.h |
|
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FPhysicsControlSparseData& other |
PhysicsControlData.h |