I have implemented the beginnings of a pinball game with flippers that are activated by pressing buttons on the side of the machine. When the ball drops and i hit it with the flipper it works.
BUT....
I need to apply force only when the flipper is flipped and hits the ball.
When the ball and flipper collide with no flipper movement the ball should barely react , but when hit by the flipper while the ball is falling then I want to use the applyforce option to make the ball react harder.
I have a listener that watches for the button press to flip the flipper and I have a collision function looking for when the ball collides with the flipper, but again I need to figure out how to make the ball react with applyforce only when hit when the flipper is flipping!
Any ideas??