How do I prevent pathfinding objects from overlapping?

0 favourites
  • 3 posts
From the Asset Store
Units do not overlap each other and use different ways if there are several free ways.
  • Hi, what if I have 2 Arrows instead of 1 like in this video: [quote:1xomxjhc]

    and if I click somewhere they overlap when arriving.

    "Object X overlaps Object X - Stop" doesn't work, because as soon as they overlap they wont move anymore. Any ideas?

  • I figured out how to solve it: Giving it a Solid and Platform behaviour.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sprite overlap is something I have struggled with for a while. I have pulled it off several ways by checking overlap and angle of collision and then moving them apart or doing an On every tick-while-overlap move away x but you have to rerun any movement/control events or they stop working like you encountered.

    Glad you were able to hack it with 2 behaviors. It would be nice if a behavior coder made a behavior that allowed us to make a sprite behave like its "solid" when it comes to overlap but not affect the physics Solid behavior.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)