Skip to content

Conversation

@lawnjelly
Copy link
Member

Warn when moving canvas items and cameras outside physics tick.

Notes

  • Counterpart to 3D physics interpolation warnings.
  • Setting transform of interpolated canvas items and cameras is usually user error when done outside the physics tick.
  • Bumped up the frequency of the warnings very slightly (once the counter elapses, checks every 15 seconds, so there are some warnings, but not overly intrusive).
  • Can be ported to 4.x.

Discussion

Noticed in #95869 that users are still liable to make mistakes using interpolation, the warnings help indicate where they are doing things incorrectly, so they can research solution.

Warn when moving canvas items and cameras outside physics tick.
@lawnjelly lawnjelly added this to the 3.x milestone Aug 23, 2024
@lawnjelly lawnjelly requested review from a team as code owners August 23, 2024 13:25
@AThousandShips AThousandShips changed the title Physics Interpolation - warnings for misuse in 2D [3.x] Physics Interpolation - warnings for misuse in 2D Aug 23, 2024
@lawnjelly lawnjelly modified the milestones: 3.x, 3.7 Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant