New answers tagged

0 votes

Box2D bodies order inside the world

I founded very simple solution. For each object I'm holding the body, so there is no need to go through the body list of the world, but just let every object to update his own position by taking the ...
user avatar
1 vote
Accepted

Sometimes player moves too much

I fixed it by setting the player's friction to zero and just handled the deceleration by myself instead of letting the box2d handling this. ...
user avatar
0 votes

Box2D make dynamic body fixed on the y axes

Set the body type of the platform to kinematic, and this is also a general introduction. Bodies have position and velocity. You can apply forces, torques, and impulses to bodies. Bodies can be static,...
user avatar
  • 1,091

Top 50 recent answers are included