#Very confused about AnimatedSprite3D

1 messages · Page 1 of 1 (latest)

olive anvil
#

I'm building a 2.5D game with 2d sprites moving around a 3D environment, and some of the items that I don't want to model are also 2d sprites that always face the camera. The problem I'm running into is that the 2D sprites do not behave with transparency the way I expect them to and I have no idea how to fix it. The yarn skeins on the back wall disappear into the wall behind them for no apparent reason, and the player character disappears behind the solid part of the front wall just fine but shows up above the transparent window. Does anyone know how I can fix this?

rough moss
#

Make sure the window has dept pre pass set to true. I think it is in the material's transparency section.

olive anvil
#

Its transparency setting is set to depth pre-pass, but idk if there's a spot where I can set it to true. Setting depth draw mode to always instead of opaque only makes the player disappear when she enters the building, and setting it to never makes her show up above the whole thing.

rough moss
#

I remember having a similar issue, but i can't remember what i did exactly.
It may be due to a setting on the Sprite3D.

olive anvil
#

oh you're right! i set her alpha cut to discard instead of disabled, and now she's showing up correctly :)

rough moss
#

oh, i'll have to note that down myself.
I was about to suggest checking no_depth_test