Path generation for non-intersecting disc movement on a plane

Have played with this for fun a bit and here the result: Algorithm: process each disc set speed as constant*destination_vector multiplicative constant a and limit the speed to constant v afterwards test if new iterated position does not conflict any other disc if it does rotate the speed in one direction by some angle step … Read more

SpriteKit physics in Swift – Ball slides against wall instead of reflecting

This appears to be an issue with collision detection. Most have found solutions by using the didBeginContact and reapplying the force at an opposite direction. Note he says didMoveToView but corrects himself in a later comment to didBeginContact. See comments at the bottom of the Ray Wenderlich tutorial here I have a fix for the … Read more

SpriteKit’s SKPhysicsBody with polygon helper tool

I am looking for the exact same thing, as it turn out I have done a small web app for this purpose. SKPhysicsBody Path Generator as action in example: Update 2015-02-13: script <!DOCTYPE html> <html> <head> <meta charset=”UTF-8″> <title>SpriteKit Tools – SKPhysicsBody Path Generator</title> <link rel=”stylesheet” href=”https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css”> <style> /* disable responsive */ .container { max-width: … Read more