Search the Community

Showing results for tags 'convex polygons'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Platform
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 1 result

  1. I tried to play around with some complex polygons and run into some issues. I first fooled with code&web physics editor and that work like supposed. Then, i took a look on JSON format and tried create similar one by hand. After some trial and error i got it right. It collided properly with world borders and body debug looked right. However, objects didn't collide properly with other objects and now I'm wondering why.. Also, one weird error said something like "Convex polys must be in conter-clockwise order" So can anyone open this mystery, how does convex polygons collision work behind the scenes? I also noticed that shapes were divided into multiple smaller shapes in JSON. Is this simply to prettify JSON or is there actually a reason behind this?