Probably a simple line trace will do the trick. If it hits the correct object continue if not fail out.