I am trying to set up some resilient collisions using the Sprite Kit. There is a problem with the case when several objects are next to each other, as I asked in Sprite Kit physics collision problem
I am confused about the timing of the situation for a collision.
I tried to set dynamic to NO in the -didBeginContact: delegate method, calculate the final speeds, then in -didEndContact: set dynamic to YES , and then set the speeds correctly.
The reason I want it to be dynamic outside the collision is because I want friction / gravity, etc. were available. What is wrong with order / logic? I looked at the -didSimulatePhysics method, but that doesn't seem to be the way to go.
ios collision-detection sprite-kit skphysicsbody
Cherr Skees Jan 28 '14 at 17:20 2014-01-28 17:20
source share