Skip to content

Sein Movement Snapshot

C++ type · FSeinMovementSnapshot

#include "Avoidance/SeinAvoidance.h"

Every body with Movement Data, in handle order, built once per tick after route upkeep. Read-only while modes step, so any number of steps may read it at once.

C++ members (4)
  • int32 Find(FSeinEntityHandle Handle) const; The mover index of a body, or INDEX_NONE.
  • void QueryNearby(const FFixedVector& Position, FFixedPoint Radius, FSeinEntityHandle Exclude, TArray<int32>& OutMovers) const; Appends the movers whose colliders lie within Radius of Position, in handle order, without Exclude. Uses Collision’s spatial index, so a body without a collider is not found.
  • void Reset(const USeinWorldSubsystem& InWorld, const FSeinSpatialIndex* InIndex, int32 SlotCapacity); Starts a new tick’s snapshot.
  • int32 Add(const FSeinMoverSnapshot& Mover); Adds the next body; bodies arrive in handle order. Returns its mover index.