UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CollisionVisitor.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "Chaos/Core.h"
5
6namespace Chaos
7{
8 class FPBDCollisionConstraint;
9
14 {
15 Stop,
17 };
18
19 /*
20 * @brief Flags to control which constraints will be visited in the various constraint visitor functions
21 */
23 {
24 VisitActiveAwake = 0, // Collisions that we detected this tick and have not been disabled or put to sleep
25 VisitSleeping = 1 << 1, // Collisions on body pairs that are sleeping
26 VisitDisabled = 1 << 2, // Collisions that have been disabled by the user, or were not enabled this tick
27 VisitExpired = 1 << 3, // Collisions that are still in memory for possible later reuse but not "current" (activated this frame)
28
32 };
34
35}
#define ENUM_CLASS_FLAGS(Enum)
Definition EnumClassFlags.h:6
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition SkeletalMeshComponent.h:307
ECollisionVisitorResult
Return value in collision visitors to indicate whether we should continue visiting for stop.
Definition CollisionVisitor.h:14
ECollisionVisitorFlags
Definition CollisionVisitor.h:23