i just started with isometrics. i got the 3d to 2d coordinates working but i cant seem to get the z sorting to work. please check the fla if you have knowledge in the subject. thanks
-zylum
i just started with isometrics. i got the 3d to 2d coordinates working but i cant seem to get the z sorting to work. please check the fla if you have knowledge in the subject. thanks
-zylum
Ah, I ran to a problem like this once. Try using the swapDepth function. When you’re moving that ball or whatever, test to see if its depth is greater than [color=blue]object1’s length+own length/2[/color]. If it is, then swapDepth the two objects.
You have to realize that when you’re dealing with 3D, you have to, to some extent, imagine that each object has its own depth that you have to take into consideration. What I generally do is use an object’s width (easiest example, a “sphere”) and make that its depth as well.
the z sorting im talking about is with the positioning of the tiles. i need to find the proper depth so swap the tiles original depth with so that they line up properly without any abnormal overlapping. if you open the fla and run it you’ll see how the tiles form in an odd way…
:: Copyright KIRUPA 2024 //--