TCollisionData

Collision event data stored for use by other systems (e.g. Niagara, gameplay events)

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ExternalCollisionData.h

Include

#include "Chaos/ExternalCollisionData.h"

Syntax

template<class T, int d>
struct TCollisionData

Remarks

Collision event data stored for use by other systems (e.g. Niagara, gameplay events)

Variables

Name Description

Public variable

TVector< T, d >

 

AccumulatedImpulse

Public variable

TVector< T, d >

 

AngularVelocity1

Public variable

TVector< T, d >

 

AngularVelocity2

Public variable

TGeometryPartic...

 

Levelset

Public variable

IPhysicsProxyBa...

 

LevelsetProxy

Public variable

TVector< T, d >

 

Location

Public variable

T

 

Mass1

Public variable

T

 

Mass2

Public variable

TVector< T, d >

 

Normal

Public variable

TGeometryPartic...

 

Particle

Public variable

IPhysicsProxyBa...

 

ParticleProxy

Public variable

T

 

PenetrationDepth

Public variable

TVector< T, d >

 

Velocity1

Public variable

TVector< T, d >

 

Velocity2

Constructors

Name Description

Public function

TCollisionData()

Public function

TCollisionData

(
    TVector< T, d > InLocation,
    TVector< T, d > InAccumulatedImpuls...,
    TVector< T, d > InNormal,
    TVector< T, d > InVelocity1,
    TVector< T, d > InVelocity2,
    TVector< T, d > InAngularVelocity1,
    TVector< T, d > InAngularVelocity2,
    T InMass1,
    T InMass2,
    T InPenetrationDepth,
    TGeometryParticle< T, d >* InP...,
    TGeometryParticle< T, d >* InL...,
    IPhysicsProxyBase* InParticleP...,
    IPhysicsProxyBase* InLevelsetP...
)

Functions

Name Description

Public function

bool

 

IsValid()

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