How to prevent Sprite3D from clipping into nearby objects?
Gotot 4.2
Sprite3D is very useful for representing 2D objects within the gameworld. However, when billboarded (Y-billboard), 3D Sprites are prone to clipping into the floor/walls/other 3D models they are close to.
There is an easy way to "force" the sprite3D to be drawn in front of the cube by checking "No depth test" in the sprite 3D's flags, but that makes the sprite visible through all walls/floor.
The other method I tried is to manipulation of the sprite3D's and Cube's material transparency settings:
3D Cube's and Floor's material:
Transparency: Alpha
Blend Mode: Mix
Cull Mode: Disabled
Depth Draw: Always
No Depth Test: unticked
This solves the "see-through walls" problem and prevents clipping through the cube, but the sprite3D is still visible through the floor.
Is there some other way to prevent this clipping? Maybe to have the sprite's depth (or "render order") depend on its origin?