Hello!
I'm having this problem where I connected Box2D to my Libgdx project, now I'm trying to create a RagDoll out of my Spine skeleton.
the problem is that the "Body" of the character is a mesh and for some reason doesn't have WorldX and WorldY.
I'm using the MeshAttachment's height and width to create a box but I can't find the position of anything...
I know that using a box for mesh is incorrect, that's just for testing, I'm trying to figure out how to simplify the mesh's vertices so I could create a working Box2D shape or several of them in the body of my character...
in short: How do I get the X,Y of the mesh it self... I get 0,0 all the time ?
Thank you for you time and help!
p.s - the boxes in the picture are Box2D PolygonShape