Physics don't apply on a unique body AndEngine

Posted by Kanga on Game Development See other posts from Game Development or by Kanga
Published on 2013-10-29T23:38:04Z Indexed on 2013/10/30 4:16 UTC
Read the original article Hit count: 210

I am developing a game in AndEngine so far I managed to create everything I wanted for my sprite that was connected to a BoxBody. I was rotating it moving it everything was great. I wanted my collision detection to be more precise so I changed from boxBody to unique irregular shaped body. I found all the vertices and I just replaced the newly created irregular shaped body with the boxbody everywhere in my code. Not only that the image of the sprite is not in place but all the physics and maths I was doing for movement and physics wont work.

Please help me :(.

Thanks in advance.

© Game Development or respective owner

Related posts about android

Related posts about box2d