by loftar » Fri Feb 05, 2010 5:37 pm
The problem with highlighting is that only the base coordinate of objects is checked for obstruction. Probably, that coordinate for the stump happened to be behind a pixel on the apple tree that wasn't opaque enough to be considered an obstruction. To be properly fixed, more than just the base coordinate should be checked, but I haven't yet figured out how to do that in a way that doesn't waste a ton of CPU time.
"Object-oriented design is the roman numerals of computing." -- Rob Pike