Page 1 of 1

Depth Sorting

PostPosted: Thu Dec 11, 2014 1:46 am
by Blaster
I have a problem with depthsorting. I tried all depthSortMode variables (-1,0,1,2) but i didn't do true depth sorting.

I need help for true depth sorting. Cross walls must stay front of vertical walls but i couldn't do it. I attached the image of problem.

Sorry for my bad english.

Thanks...

Re: Depth Sorting

PostPosted: Tue Dec 16, 2014 8:48 am
by rob
The engine uses bounding cuboids to determine depth. Can you enable drawBounds(true) on your entities and also the viewport and then post another screenshot? It is likely your bounds are not set up correctly.

Thanks,

Rob

Re: Depth Sorting

PostPosted: Wed Dec 24, 2014 10:58 pm
by Blaster
Very,very thanks you Rob... You saved my life again :)

Re: Depth Sorting

PostPosted: Thu Dec 25, 2014 10:36 am
by rob
Glad I could help :)