I have two movement issues that I'm having trouble with.
1) When I launch the ball object vertically with pinball movement, I want the ball to be destroyed on the downside of the movement when the ball's Y position = 140. The ball's Y position will pass Y=140 twice, once going up and then when coming down. I tried to set a flag on the ball so that I can test when the ball is moving up or down but I haven't gotten it to work consistently.
2) Is there an example that I can see how to handle the following situation. When the bottom object is under the top object and a ball is launched from the bottom object, I want the ball to pass over the top object and only detect a collision with the top object and ball when the ball is coming back down.
I hope these questions aren't too confusing. The attached file should be easier to understand what I'm trying to convey.
Steve

