I am trying to get two physicists who are already in contact with each other (in fact, they overlap because physicBody.collisionCategory = 0; for both physical devices) to restart / re-register / restart their contact, by command. I could not do this, although I tried to make body1 move one pixel inside body2 in order to reactivate the contact. I also deleted one of the physicists and re-started it a few seconds afterwards to re-call the contact. But nothing works. Is there any method or method to restart the contact process when both bodies are already in contact?
So, to make things a little clearer:
1) SpriteHuman is included in the SpritePanel.
2) - (void) didBeginContact: (SKPhysicsContact *) contact registers the contact.
3) I call a method that starts the second step again, while SpriteHuman is not moving and is still in contact with SpritePanel.
source
share