How do I prevent pathfinding objects from overlapping?

0 favourites
  • 3 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Hi, what if I have 2 Arrows instead of 1 like in this video: [quote:1xomxjhc]https://youtu.be/1Z9SCtQSB1o

    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?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I figured out how to solve it: Giving it a Solid and Platform behaviour.

  • 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)