Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert toplevel, simplify 2D #39

Merged
merged 1 commit into from
Sep 25, 2023
Merged

Revert toplevel, simplify 2D #39

merged 1 commit into from
Sep 25, 2023

Conversation

lawnjelly
Copy link
Owner

The toplevel approach in 2D was causing problems with y-sorting and propagating visibility changes. Revert to allowing global transform output with regular inheritance in the scene tree. Simplify to basis lerping to prevent problems with global transform.

Notes

  • This is mostly reverting the toplevel approach tried this year which has caused a lot of problems:
  1. Visibility was not inherited - if you made the parent object invisible, the smoothed version was staying visible
  2. As a result of this, processing was not getting throttled down for hidden objects
  3. Y sorting was broken.
  • There are no changes to 3D.

The toplevel approach was causing problems with y-sorting and propagating visibility changes.
Revert to allowing global transform output with regular inheritance in the scene tree.
Simplify to basis lerping to prevent problems with global transform.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant