Posted By: DJBMASTER
Grid tile highlighting? - 03/05/10 01:11
Hi guys, I'm working on something for a level editor and i'm just throwing ideas together.
I'm trying to achieve individual tile highlighting on my grid. I've sort of got it to work, by tracing through the 3D mouse onto my grid and setting a position, but it seems to be a little inaccurate and I can't reach every position on the grid.
If anyone would be so kind as to take a look and help me see where I can improve my code, or give another solution then i'd be very grateful.
Thanks, DJB.
I'm trying to achieve individual tile highlighting on my grid. I've sort of got it to work, by tracing through the 3D mouse onto my grid and setting a position, but it seems to be a little inaccurate and I can't reach every position on the grid.
If anyone would be so kind as to take a look and help me see where I can improve my code, or give another solution then i'd be very grateful.
Thanks, DJB.