Take a look at this example: http://raws.adc.rmit.edu.au/~e46191/AS3/AS3_hitTest.html.
HitTestPoints AS3?
-
19-07-2023 - |
Question
I'm having some trouble with my hit test points. I cannot remember how to do them, and my example is to confusing to copy and paste.
Here is my design so far:
what i wish to do is to make the pinball_mc move back in the direction it's came from when it is hit by either the leftBumper_mc and rightBumper_mc. I think i have to make it * -1 to give it back in the direction it came from. But any help is appreciated.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow