5
votes
1answer
231 views

2D Polygon Triangulation

I am creating a game engine using the JBox2D physics engine. It only allows you to create polygon fixtures up to 8 vertices, To create a body with more than 8 vertices, you need to create multiple ...
1
vote
1answer
119 views

How do I use ContactListener in JBOX2D?

I have a character, and I need to know when he's touching a wall/floor. I look for some information but no luck. How do I do that? I saw a few things about ContactListeners and getContactList(). But I ...
0
votes
2answers
336 views

How to translate from Slick2d coordinates to jBox2d

I read through this question to try and get a grasp on the topic, but I can't figure out how to apply this to my Slick2d window. I'm trying to do something as simple as place an edge on the bottom of ...