DE EN FR ES IT CZ
Back Back to top

Character collision

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  • #1, by dos4gw 12 years ago Quote
    I'm using the chase command heavily in my game. Is there a way to prevent characters from passing through each other?
  • New to Visionaire Studio?

    Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.

    See the Indie Bundle Try it for free
  • #2, by afrlme 12 years ago Quote
    Try setting a larger radius. The closer the characters are the more likely that they may end up passing through each other.

    Technically you could also program basic character collision detection by querying if active characters radius is inside of another characters radius. It requires Lua script mind & determining what the character should do if it overlaps another characters radius is a little complicated as you have to consider direction & destination of both characters. Plus the characters are 2D.