i have a problem with entity priorities. I created two 2D 'quad' entities with different colors, but when they appear on the screen sometimes the color of one prevails and other times that of the other.
from ursina import *
app = Ursina()
o = Entity(model='quad', scale_x=0.3, scale_y=0.3, collider="box", color=color.red,position=(-0.45,-1.4))
Re_bianco = Entity(model='quad', scale_x=0.3, scale_y=0.3, collider="box", position=(-0.5,-1.4))
app.run()
I tried to use the z axis, but the result is not optimal because by offsetting the z axis the quarter distorts. and even overlapping them you can see both.
from ursina import *
app = Ursina()
o = Entity(model='quad', scale_x=0.3, scale_y=0.3, collider="box", color=color.red,position=(-0.5,-1.4,0))
Re_bianco = Entity(model='quad', scale_x=0.3, scale_y=0.3, collider="box", position=(-0.5,-1.4,1))
app.run()
Thanks for your help