Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


constraintmanager

This is an old revision of the document!


ConstraintManager

This system evaluates all of the “Constraint” components in a Unity 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.1651720276.txt.gz · Last modified: 2022/05/05 03:11 by uninomiconadmin