FAsyncCollisionReceiver::AppendCollisions

Called by a CollisionDetector (possibly in a task) when it wants to append extra collisions to an entry.

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/Collision/CollisionReceiver.h"

Syntax

void AppendCollisions
(
    const FCollisionConstraintsArray & Constraints,
    int32 EntryIndex
)

Remarks

Called by a CollisionDetector (possibly in a task) when it wants to append extra collisions to an entry. This will be slower than just receiving a full container as above as we will need to expand the array. Make sure when calling append it's after all possible calls to Receive for that particle or the array will be emptied as receive just moves the container into its internal store

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