entityOrder problems

Blitz3D Forums/Blitz3D Programming/entityOrder problems

cyberyoyo(Posted 2006) [#1]
Hi guys I'm not sure how entity order works exactly but it gives me problems.
I have a sprite that I set at entity order-1
I have a simple mesh and I want it to always appear in front of the sprite so I set its entityorder to -2

but it doesn't seem to work, the sprite remains in front of the mesh.
any idea?


Stevie G(Posted 2006) [#2]
Sounds like you're doing something wrong. Post your code.

Stevie


_PJ_(Posted 2006) [#3]
I find it easier to use, say 999 and 998 rather than negative numbers.


jfk EO-11110(Posted 2006) [#4]
try: swap -1 and -2
try: set entityOrder one by one in the order you want them to be set, each one using -1


cyberyoyo(Posted 2006) [#5]
Thanks for the answers.
I didn't find the problem, but i've removed entityorder from my code alltogether.
Thanks again.