FParticleUtilities_ActorSpace

Particle Space == Actor Space (Transforms) Velocities in CoM Space.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Particle/ParticleUtilities.h

Include

#include "Chaos/Particle/ParticleUtilities.h"

Syntax

template<typename TSpatialAccessor>
class FParticleUtilities_ActorSpace

Remarks

Particle Space == Actor Space (Transforms) Velocities in CoM Space.

Functions

Name Description

Public function Static

const FRigid...

 

ActorLocalToParticleLocal

(
    T_PARTICLEHANDLE Particle,
    const FRigidTransform3& ActorLocal...
)

Public function Static

const FRigid...

 

ActorWorldToParticleWorld

(
    T_PARTICLEHANDLE Particle,
    const FRigidTransform3& ActorWorld...
)

Public function Static

FRigidTransf...

 

GetActorWorldTransform

(
    T_PARTICLEHANDLE Particle
)

Public function Static

FVec3

 

GetCoMWorldPosition

(
    T_PARTICLEHANDLE Particle
)

Public function Static

FVec3

 

GetCoMWorldPosition

(
    TPBDRigidParticles< FReal, 3 >& Pa...,
    const int32 Index
)

Public function Static

FRotation3

 

GetCoMWorldRotation

(
    T_PARTICLEHANDLE Particle
)

Public function Static

FRotation3

 

GetCoMWorldRotation

(
    TPBDRigidParticles< FReal, 3 >& Pa...,
    const int32 Index
)

Public function Static

FRigidTransf...

 

GetCoMWorldTransform

(
    T_PARTICLEHANDLE Particle
)

Public function Static

FVec3

 

GetPreviousVelocityAtCoMRelativePosition

(
    T_PARTICLEHANDLE Particle,
    const FVec3& RelPos
)

Public function Static

FVec3

 

GetVelocityAtCoMRelativePosition

(
    T_PARTICLEHANDLE Particle,
    const FVec3& RelPos
)

Get the velocity at point 'RelPos', where 'RelPos' is a world-space position relative to the Particle's center of mass.

Public function Static

FMatrix33

 

GetWorldInertia

(
    T_PARTICLEHANDLE Particle
)

Public function Static

FMatrix33

 

GetWorldInvInertia

(
    T_PARTICLEHANDLE Particle
)

Public function Static

FRigidTransf...

 

ParticleLocalToCoMLocal

(
    T_PARTICLEHANDLE Particle,
    const FRigidTransform3& T
)

Convert an particle-local-space transform into a com-local-space transform

Public function Static

FVec3

 

ParticleLocalToCoMLocal

(
    T_PARTICLEHANDLE Particle,
    const FVec3& P
)

Convert an particle position into a com-local-space position

Public function Static

FRotation3

 

ParticleLocalToCoMLocal

(
    T_PARTICLEHANDLE Particle,
    const FRotation3& Q
)

Convert a particle rotation into a com-local-space rotation

Public function Static

void

 

SetActorWorldTransform

(
    T_PARTICLEHANDLE Particle,
    const FRigidTransform3& ActorWorld...
)

Public function Static

void

 

SetCoMWorldTransform

(
    T_PARTICLEHANDLE Particle,
    const FVec3& PCoM,
    const FRotation3& QCoM
)

Update the particle's position and rotation by specifying a new center of mass transform.

Public function Static

void

 

SetCoMWorldTransform

(
    TPBDRigidParticles< FReal, 3 >& Pa...,
    const int32 Index,
    const FVec3& PCoM,
    const FRotation3& QCoM
)

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