New answers tagged box2d
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 ...
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.
...
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,...
Top 50 recent answers are included
Related Tags
box2d × 795libgdx × 271
physics × 178
java × 122
c++ × 70
android × 60
collision-detection × 58
cocos2d-iphone × 51
andengine × 46
2d × 41
javascript × 29
jbox2d × 29
cocos2d × 28
platformer × 27
sprites × 21
physics-engine × 21
iphone × 20
farseer-physics-engine × 20
ios × 18
movement × 17
body × 17
unity × 15
actionscript-3 × 14
sfml × 13
mathematics × 12