danfranklinusa's Forum Posts

  • 1 posts
  • I'm trying to make a game in which one of the mechanics is to attach two batteries together. I have a battery object type. I have cloned it a few times. It has DragDrop and Pin behaviors. I set up an Event on Battery so that when one Battery collides with another, I pin the battery.

    This sort of works up to a point. When the first instance touches the 2nd, the 2nd sticks to it just as I want.

    But as I move the first instance up, it "slips" against the 2nd battery and they are no longer attached the way they were originally; the 2nd battery is lower than the 1st.

    Also, I can't then pin additional instances to the first one and have 3 or 4 of them all move together. It seems like an instance can only be pinned to one other instance, so a 2nd collision unpins it from the first.

    There are other issues as well. Basically pin is not working as I would expect. How should I solve this?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 1 posts