that should work as long as the line you draw from the ball is long enought to make it through the y coordinate of the block plane. If the line you draw is long and an intersection occurs again on the same object, it will move down again. So you might want to check for that.
|