Sein Collision Resolver
Class · USeinCollisionResolver : UObject
#include "Collision/SeinCollisionResolver.h"
abstract: use a subclass
Abstract base for the system that separates overlapping solid bodies and emits overlap events, once per simulation tick. Choose the class with Collision Resolver Class in the Collision settings. The framework ships a serial Gauss-Seidel resolver and a parallel Jacobi resolver.
C++ members (7)
static void BuildChannelDefaults(TMap<FName, ESeinCollisionResponse>& Out);Resolve registered channel defaults once for a batch of body queries.static bool HaveBlockingResponse(const FSeinExtentsPayload& SelfExt, const FSeinExtentsPayload& OtherExt, const TMap<FName, ESeinCollisionResponse>& ChannelDefaults);static bool HaveBlockingContact(const FSeinExtentsPayload& SelfExt, const FFixedTransform& SelfTransform, const FSeinExtentsPayload& OtherExt, const FFixedTransform& OtherTransform, const TMap<FName, ESeinCollisionResponse>& ChannelDefaults, FFixedPoint* OutDepth = nullptr);Whether two authored bodies have a blocking contact at the supplied poses. Shares the resolver’s compound shapes, vertical spans and channel policy. When requested, returns the deepest penetration (zero for no contact).void OnInitialized(UWorld* );Called once when the world subsystem instantiates this resolver. Default: no-op. MirrorsUSeinNavigation::OnNavigationInitialized.void OnDeinitialized();Called while the owning world and this implementation’s native module are still callable, immediately before the resolver is detached. Override to release delegate bindings or native resources. Must be idempotent and must not issue gameplay mutations.void OnSnapshotRestored();Called after the world subsystem restores authoritative snapshot state. Custom resolvers should discard any timeline-local scratch and call the base implementation so overlap events are re-derived from the restored world instead of diffed against the abandoned timeline.void Resolve(USeinWorldSubsystem& );Run one simulation tick’s FULL collision resolution: the relaxation / separation passes that push overlapping Block colliders apart along their minimum-translation axis, followed by the overlap-event diff that emits CollisionOverlapBegin / CollisionOverlapEnd visual events for Overlap pairs. Called once per PostTick byFSeinCollisionResolutionSystemon the SETTLED positions snapshot. Default: no-op (a resolver that does nothing leaves colliders untouched). Subclasses override.