You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The expected outcome is for the ball to bounce to the right instead of straight up on the first contact. This behavior makes it hard to build complex terrain that works well, because a concave shape needs to be decomposed into stitched together convex polygons, and every seam that this creates makes the above case more likely to happen.
I created this as a demo, here's the source code for it:
Add a smoothing radius to the polygons. Even a few pixels is going to help tremendously. I would also highly recommend using line shapes to outline large objects like terrain instead of making them solid with polygons. Avoids some of the issues and should give much better performance.
I've noticed an issue when colliding with multiple static objects at the same time, and reduced it down to a simple case as seen in this video https://gfycat.com/gifs/detail/CommonRecentCentipede.
The expected outcome is for the ball to bounce to the right instead of straight up on the first contact. This behavior makes it hard to build complex terrain that works well, because a concave shape needs to be decomposed into stitched together convex polygons, and every seam that this creates makes the above case more likely to happen.
I created this as a demo, here's the source code for it:
The text was updated successfully, but these errors were encountered: