#Child sprite disappears when parent tilts with 2D camera

8 messages · Page 1 of 1 (latest)

proud wyvern
#

In the video I have a Sprite (5) that is a ChildOf the card. Seems like when the parent is tilted such that the x rotation is negative, the child disappears. Is this a z-order thing, or what causes this, and is there a way to fix it?

south wigeon
#

probably z-order, can add some z to the child transform probably?

proud wyvern
south wigeon
#

bevy_ui::*::ZIndex probably doesn't work

proud wyvern
#

this is all just sprite. 2d stuff not UI

south wigeon
#

yeah, thus "probably doesn't"

#

could try a rendertexture

#

or a 3d orthographic camera, though iirc that wouldn't render sprites