I am currently working with the iOS 8 SpriteKit API's and am having a hard time creating an attractive magnetic force with SKFieldNode. I can create an opposing magnetic force just fine, however I can't reverse the field. Heres what I have currently:
touchField = [SKFieldNode magneticField];
touchField.physicsBody = [SKPhysicsBody bodyWithCircleOfRadius:(self.frame.size.height/4 - 34)];
touchField.physicsBody.charge = 3;
This particular field is supposed to be interactive with another SKSpriteNode.
customFieldWithEvaluationBlock
either. – Dispirit