Hello everyone. I hope this question finds you all well.
I’ve been trying to figure out how to get to display two different scenes depending on where the ball touches.
Depending on dragging the circle, either to the left side or to the right side of a rectangular area.
If the ball touches the right square, I’d like the rightScene to display and if the left square is touched by the circle, the leftScene will display.
I've attached a simple sample for you to review.
Can anyone help me to accomplish this?
I would appreciate it so much!!
collision-detection-testing.zip (211.7 KB)