TKinematicTarget

Data used to integrate kinematic bodies

Windows
MacOS
Linux

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

Name Description

Public function

TKinematicTarget()

Functions

Name Description

Public function

void

 

Clear()

Clear the kinematic target

Public function Const

EKinematicTa...

 

GetMode()

Get the kinematic target mode

Public function Const

const TRigid...

 

GetPrevious()

Get the particle's previous transform for velocity calculations)

Public function Const

const TRigid...

 

GetTarget()

Get the target transform (asserts if not in Position mode)

Public function Const

bool

 

IsEqual

(
    const TKinematicTarget& other
)

Public function Const

bool

 

IsEqual

(
    const TOther& other
)

Public function Const

bool

 

IsSet()

Whether this kinematic target has been set (either velocity or position mode)

Public function

void

 

SetMode

(
    EKinematicTargetMode InMode
)

For internal use only.

Public function

void

 

SetTargetMode

(
    const TRigidTransform< T, d >& InT...,
    const TRigidTransform< T, d >& InP...
)

Use transform target mode and set the transform target

Public function

void

 

SetVelocityMode()

Use velocity target mode

Operators

Name Description

Public function Const

bool

 

operator==

(
    const TKinematicTarget& other
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss