Navigation
API > API/Runtime > API/Runtime/Chaos
Data used to integrate kinematic bodies
| Name | FKinematicTarget |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/KinematicTargets.h |
| Include Path | #include "Chaos/KinematicTargets.h" |
Syntax
template<class T, int d>
class FKinematicTarget
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FKinematicTarget
(
const FVec3& InPosition, |
Chaos/KinematicTargets.h | ||
FKinematicTarget
(
const FRigidTransform3& InTransform |
Chaos/KinematicTargets.h | ||
| Chaos/KinematicTargets.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Mode | EKinematicTargetMode | Chaos/KinematicTargets.h | ||
| Position | FVec3 | Chaos/KinematicTargets.h | ||
| Rotation | FRotation3f | Chaos/KinematicTargets.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Clear() |
Clear the kinematic target | Chaos/KinematicTargets.h | |
void CopyFrom
(
const TOther& Other |
Chaos/KinematicTargets.h | ||
EKinematicTargetMode GetMode() |
Get the kinematic target mode | Chaos/KinematicTargets.h | |
FVec3 GetPosition() |
Get the target position (asserts if not in Position mode) | Chaos/KinematicTargets.h | |
FRotation3f GetRotation() |
Get the target rotation (asserts if not in Position mode) | Chaos/KinematicTargets.h | |
FRigidTransform3 GetTarget() |
Get the target transform (asserts if not in Position mode) | Chaos/KinematicTargets.h | |
FVec3 GetTargetPosition() |
Get the target position (asserts if not in Position mode) | Chaos/KinematicTargets.h | |
FRotation3 GetTargetRotation() |
Get the target rotation (asserts if not in Position mode) | Chaos/KinematicTargets.h | |
FRigidTransform3 GetTransform() |
Get the target transform (asserts if not in Position mode) | Chaos/KinematicTargets.h | |
bool IsEqual
(
const TOther& other |
Chaos/KinematicTargets.h | ||
bool IsEqual
(
const FKinematicTarget& other |
Chaos/KinematicTargets.h | ||
bool IsSet() |
Whether this kinematic target has been set (either velocity or position mode) | Chaos/KinematicTargets.h | |
void SetMode
(
EKinematicTargetMode InMode |
For internal use only. | Chaos/KinematicTargets.h | |
void SetTargetMode
(
const FRigidTransform3& InTarget |
Use transform target mode and set the transform target | Chaos/KinematicTargets.h | |
void SetTargetMode
(
const FVec3& X, |
Use transform target mode and set the transform target | Chaos/KinematicTargets.h | |
void SetVelocityMode() |
Use velocity target mode | Chaos/KinematicTargets.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FKinematicTarget MakePositionTarget
(
const FVec3& InPosition, |
Chaos/KinematicTargets.h | ||
static FKinematicTarget MakePositionTarget
(
const FRigidTransform3& InTransform |
Chaos/KinematicTargets.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FKinematicTarget& other |
Chaos/KinematicTargets.h |