Sein Collision Resolver (Parallel)
Class · USeinCollisionResolverParallel : USeinCollisionResolver
Parent: Sein Collision Resolver
#include "Collision/SeinCollisionResolverParallel.h"
Resolves collision across worker threads, for large unit counts. It does the same job as the default resolver using Jacobi relaxation: every body computes its separation from a snapshot taken at the start of each pass, and all moves apply together, so the work can run in parallel and gives identical results whether run serially or in parallel. It needs more passes to settle a dense cluster (default 8, against 4 for the default resolver). Mass weighting, immovable walls and statics, the hard barrier against baked walls and the grid edge, and overlap events match the default. Runs after movement each tick.
Properties
Section titled “Properties”Num Passes
Section titled “Num Passes”int32 NumPasses · default 8 · min 1
Editable in class defaults
Relaxation passes per tick. The default is higher than the default resolver’s because Jacobi relaxation settles more slowly.
Relaxation
Section titled “Relaxation”FFixedPoint Relaxation · default FFixedPoint::One
Editable in class defaults
Scales every accepted push (1 = no relaxation). <1 under-relaxes for extra stability in very dense piles at the cost of more passes to settle; >1 is not recommended (can overshoot). Fixed-point so it stays deterministic.