Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Physics > API/Runtime/Engine/Physics/ImmediatePhysics > API/Runtime/Engine/Physics/ImmediatePhysics/ImmediatePhysicsChaos
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Physics/ImmediatePhysics/ImmediatePhysicsChaos/ImmediatePhysicsCore_Chaos.h |
| Include | #include "Physics/ImmediatePhysics/ImmediatePhysicsChaos/ImmediatePhysicsCore_Chaos.h" |
Syntax
template<class T, int d>
class TKinematicTarget
Remarks
Data used to integrate kinematic bodies
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Clear () |
Clear the kinematic target | |
| void | CopyFrom
(
const TOther& Other |
||
| EKinematicTargetMode | GetMode () |
Get the kinematic target mode | |
| TRigidTransform< T, d > | GetTarget () |
Get the target transform (asserts if not in Position mode) | |
| TVector< T, d > | Get the target position (asserts if not in Position mode) | ||
| TRotation< T, d > | Get the target rotation (asserts if not in Position mode) | ||
| bool | IsEqual
(
const TKinematicTarget& other |
||
| bool | IsEqual
(
const TOther& other |
||
| bool | IsSet () |
Whether this kinematic target has been set (either velocity or position mode) | |
| TKinematicTarget< T, d > | MakePositionTarget
(
const TVector< T, d >& InPosition, |
||
| TKinematicTarget< T, d > | MakePositionTarget
(
const TRigidTransform< T, d >& InTransform |
||
| void | SetMode
(
EKinematicTargetMode InMode |
For internal use only. | |
| void | SetTargetMode
(
const TVector< T, d >& X, |
Use transform target mode and set the transform target | |
| void | SetTargetMode
(
const TRigidTransform< T, d >& InTarget |
Use transform target mode and set the transform target | |
| void | Use velocity target mode |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const TKinematicTarget& other |