sry for the late response. i havent been able to login to the forums lately...it was kinda wierd, but thankyou for the snippet. You wouldnt happen to know how to make the grid into a 3d grid would you?
Or perhaps display a grid ingame kinda the way the MED 3d viewport does...