Use spritekit to draw bounce auxiliary line

Viewed 60

use swift & spritekit,I have a polygon with a point of origin. With the finger move, I want to launch a dotted line from the origin to the direction of the finger clicks. When the dotted line hits the polygon, it can bounce,just like the bubble dragon game. Can you give some advice?

0 Answers
Related