I have the following shape: http://s16.postimg.org/sfhb5wgdx/slime.png and I want to draw it in LibGDx just like that because am using Box2d wand will be used in collisions. I have heard I can used a mesh to create this but there isn't much documentation about drawing anything from an image. Do I seriously have to define all the points myself? Is there a better way to extract a shape from in image?
Asked
Active
Viewed 2,410 times
1 Answers
1
Use Physics body editor https://code.google.com/p/box2d-editor/ this will solve your problem

Vikalp Jain
- 1,419
- 1
- 11
- 20
-
-
Doesn't work on Mac OSX Mavericks because this application doesn't support Java 7.. – Oliver Dixon Aug 19 '14 at 05:35
-
@iLoveUnicorns then install java 6 on Mac OSX Mavericks. I'm currnetly running all java6, java7 both on my mac with default set to java6. you can use http://support.apple.com/kb/DL1572 to install java 6. – Vikalp Jain Aug 19 '14 at 10:15