Skip to content

Sein Collision Subsystem

Class · USeinCollisionSubsystem : USeinSystemHostSubsystem

Parent: Sein System Host Subsystem

#include "Collision/SeinCollisionSubsystem.h"

Collision: the simulation’s one spatial index and the pluggable resolver that separates overlapping bodies and reports overlaps. The index is derived state, rebuilt from the world.

C++ members (5)
  • const FSeinSpatialIndex& GetSpatialIndex() const; The spatial index. Its collider tiers are rebuilt each PreTick by the broadphase system and after movement; its entity tier refreshes when an entity query needs it.
  • FSeinSpatialIndex* GetSpatialIndexMutable(); Mutable index for its owning systems; null from read-only callbacks.
  • void CollectEntitiesNear(const FFixedVector& Origin, FFixedPoint Radius, FSeinEntityHandle Exclude, TArray<FSeinEntityHandle>& Out) const; Live placed entities that may lie within Radius of Origin on the ground plane, sorted by handle and without Exclude: candidates for an exact distance test.
  • void CollectEntitiesInBox(const FFixedVector& Min, const FFixedVector& Max, FSeinEntityHandle Exclude, TArray<FSeinEntityHandle>& Out) const; Live placed entities that may lie in the ground-plane box Min..Max, sorted by handle and without Exclude: candidates for an exact position test.
  • USeinCollisionResolver* GetCollisionResolver() const; The active resolver from the Collision Resolver Class setting; null when that setting is None (collision off).