- Joined
- Nov 3, 2006
- Messages
- 8,102
I need a function that moves unit and changes its height (basically, changes x,y,z) in order for it to be on the same spot on the screen all the time. I will use bilboarded planes that face the screen all the time, but I do not know math well enough in order to make a function that could keep interface buttons (that are units) in place. Is anyone willing to help me around this?
It'd be something like this (http://www.wc3c.net/attachment.php?attachmentid=36907&d=1219960228), but much simpler, as I only need the function to move units to correct positions, I can do everything else on my own.
It'd be something like this (http://www.wc3c.net/attachment.php?attachmentid=36907&d=1219960228), but much simpler, as I only need the function to move units to correct positions, I can do everything else on my own.