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()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback