bevy
bevy copied to clipboard
Propagate transforms in fixed update
Objective
Fix #7836. GlobalTransform
is not updated in FixedUpdate
.
Solution
Add it to FixedUpdate
, keep the same system sets, clean up the code a bit.
Changelog
Changed: Transform propagation now runs in CoreSet::FixedUpdate
.
We will need to add base sets to the FixedUpdate
schedule, otherwise users will need to explicitly run their systems before transform propagation.
Marking this as blocked on #7835 then.
won't this potentially run propagate_transforms multiple times in a frame even if a user isn't using fixed update? Or is the cost of that negligible with the change checking?