Hello everyone!
I have been working on a game using box2dweb, but I've been having some problems with creating an uneven ground using box2d since the latest box2dweb version does not have edge chains.
Basically, my ground is made up of b2polygon edges connected together to make the ground jagged like this

However, when the player slides over the edges there are still ghost collisions at the edges and I don't know what else I can do to fix this since it doesn't seem like box2dweb is going to be updated (I've looked this problem up online, and some people said that b2polygon edges do work to stop the ghost collisions, but for some reason it still doesn't work for me)
Using rounded rectangles or a circle as my player doesn't really work for my game either...
If anyone has any ideas on what I could do to solve this problem it would be greatly appreciated!
Thanks! 🙂
I have been working on a game using box2dweb, but I've been having some problems with creating an uneven ground using box2d since the latest box2dweb version does not have edge chains.
Basically, my ground is made up of b2polygon edges connected together to make the ground jagged like this

However, when the player slides over the edges there are still ghost collisions at the edges and I don't know what else I can do to fix this since it doesn't seem like box2dweb is going to be updated (I've looked this problem up online, and some people said that b2polygon edges do work to stop the ghost collisions, but for some reason it still doesn't work for me)
Using rounded rectangles or a circle as my player doesn't really work for my game either...
If anyone has any ideas on what I could do to solve this problem it would be greatly appreciated!
Thanks! 🙂