Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


constraintmanager

This is an old revision of the document!


ConstraintManager

An internal Unity system that evaluates all of the “Constraint” components in a scene1).

Beyond applying the constraint the ConstraintManager also sorts constraints based on dependencies, in order to avoid drift caused by non-optimal order of evaluation.

The sorting and evaluation happens in PreLateUpdate.ConstraintManagerUpdate, and is mildly jobified.

1)
ie. PositionConstraint, RotationConstraint, etc
constraintmanager.1651720292.txt.gz · Last modified: 2025/01/15 04:35 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki