I have several sprite entities that exist in the same plane in 3d space. Example:
Code:
ent_create("player1.png", vector(2,4,0), NULL);
ent_create("player2.png", vector(3,1,0), NULL);

Is there some way I can set the priority of which entity should be rendered in front without altering the Z-value? I basically need the functionality of the layer flag except for entities.