Impulse SKSpriteNode depending on touched location Swift 2
问题 I'm learning Swift 2 and I'm making the typical ball game where you hit the ball, it gets an impulse. But i don't want the ball to always go straight through Y coordinate, it wouldn't be fun, i would like to add an impulse depending on the touched location, go through the opposite direction. I attempted this example that ABakerSmith gave to the OP, but what it does is just spin my ball in the same place and baaarely moving it to one side. So i got this code, already detecting the ball Sprite