4 Replies
      Latest reply on Oct 11, 2019 10:58 AM by bg2b
      Acrisio Level 1 Level 1 (0 points)

        Hello everybody!

        im making an ARPG using mainly SkNodes, SkSpriteNodes and SKPhysicBody

        i have a SKpriteNode for the characters and i'm trying to get the logic for the atacks, for wich i make a new SkShapeNode with physicsBody and some creeps with SKspriteNode and SkPhysicsBody.

        My idea is to check when the atack colides with any creeps and apply some effects.

        So far is working right, but the problem is that the atack will overlap with the creeps some times (character is near creep and spawns an atack)
        and the creeps will move because of the contact.

        Any ideas on how i can trigger an event when some contact happen but without having the objects to move because of the colission?