FAsyncCollisionReceiver

Consumes lists of contacts generated by an FCollisionDetector (which may be on a separate thread) and then adds the contacts to the CollisionConstraints in a thread-safe way.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Collision/CollisionReceiver.h

Include

#include "Chaos/Collision/CollisionReceiver.h"

Syntax

class FAsyncCollisionReceiver

Remarks

Consumes lists of contacts generated by an FCollisionDetector (which may be on a separate thread) and then adds the contacts to the CollisionConstraints in a thread-safe way.

Constructors

Name Description

Public function

FAsyncCollisionReceiver

(
    FCollisionConstraints & InCollision...
)

Functions

Name Description

Public function

void

 

ProcessCollisions()

Add received collisions to the container (on physics thread)

Public function

void

 

ReceiveCollisions

(
    const FCollisionConstraintsArray & ...
)

Called by a CollisionDetector (possibly in a task) when it finds collisions.

Typedefs

Name

Description

FCollisionConstraints

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