You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think a child entity should inherit the coordPlane of its parent's transform.
Consider having a ScreenElement with children - currently, its children do not follow along with it (at least, not properly). If I set the coordPlane of the children to ex.CoordPlane.Screen, they do.
It's a bit hard to tell in the clip, but "hello" should be staying in position as a child of the red box screen element.
Actual Result
"hello" coordPlane is to the world instead of the Screen, so it moves off the camera.
Environment
Excalibur versions: 0.28.7
Current Workaround
Manually setting the child's coordPlane to ex.CoordPlane.Screen
The text was updated successfully, but these errors were encountered:
mattjennings
changed the title
Child entity should inherit transform.coordPlane
Child entity should inherit transform.coordPlane of parent
Feb 16, 2024
I think a child entity should inherit the coordPlane of its parent's transform.
Consider having a ScreenElement with children - currently, its children do not follow along with it (at least, not properly). If I set the coordPlane of the children to ex.CoordPlane.Screen, they do.
Steps to Reproduce
CleanShot.2024-02-16.at.16.15.24.mp4
Expected Result
It's a bit hard to tell in the clip, but "hello" should be staying in position as a child of the red box screen element.
Actual Result
"hello" coordPlane is to the world instead of the Screen, so it moves off the camera.
Environment
Current Workaround
Manually setting the child's coordPlane to ex.CoordPlane.Screen
The text was updated successfully, but these errors were encountered: