example implementation of sphere based collision detection

game has a frame counter variable now so I can do a trace to see when a hit is detected. this should probably be removed before final release.