Close, but no bannana (sp?) - what I'm looking for is where the ray strikes on a 1*1 box (i.e. a block such as would be found in an array). The code that I've posted *should* do the trick, but for some reason it doesn't - the blocks come out all glitchy. I'll try to post a screenshot in a bit to show what I'm talking about.