Tagged Questions
0
votes
1answer
165 views
Ligdx Box2d : convert box2d coordinates into screen coordinates
I'm new in libgdx and i have a little problem. I created a body in box2d and i want to assign it a sprite; for that i need to get the position of the body,then insert into the main loop the updated ...
0
votes
1answer
181 views
Why set the position of both b2Body and Box2DSprite?
In a game, we add a body for each sprite, the method is:
createBodyAtLocation:(CGPoint) forSprite:(Box2DSprite*)sprite
In which we create the body and we attach it to the sprite in parameter: ...
