-
-
Senior Member
You can take a look here:
http://mattmaxwellas3.blogspot.com/2...ased-on-y.html
Of course, that's not the only way, and you can change the property it sorts by.
If you were talking about paths, I assume this is for a towerdefense type game? If so, then you'll need to get the current segment a unit is travelling on, and then interpolate between the nodes to get the current z value (or depth, or just some variable). That way you can define the path's depth in the path nodes, and then you don't need to change anything else, the units just travel along normally and adapt to the changing depths.
P.
WIP-ZOMBIES
I love vegetarians! More meat for the rest of us!
-
thanks a lot. Its really useful.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|