Navigation
API > API/Plugins > API/Plugins/PhysicsControl
References
| Module | PhysicsControl |
| Header | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlPoseData.h |
| Include | #include "PhysicsControlPoseData.h" |
Syntax
struct FPhysicsControlPoseData
Remarks
Caches the pose for PhysicsControlComponent.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bHasJustTeleported | Whether the character has just teleported, in which case velocities should not be calculated based on deltas. | |
| TArray< FBoneData > | BoneDatas | The cached skeletal data, updated at the start of each tick. | |
| FTransform | ComponentTM | The component transform. This is only stored so we can detect teleports. | |
| float | DeltaTime | The DeltaTime used for the previous update (may be zero) | |
| int32 | ReferenceCount | Track when skeletal meshes are going to be used so this entry can be removed, and also so we can add a tick dependency. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FBoneData & | GetBoneData
(
int32 Index |
||
| FPosQuat | GetCurrentTM
(
int32 Index |
||
| FPosQuat | GetPreviousTM
(
int32 Index |
||
| bool | IsEmpty () |
||
| bool | IsValidIndex
(
const int32 Index |
||
| void | Reset () |
||
| void | Update
(
USkeletalMeshComponent* SkeletalMesh, |