Commonmark migration
Source Link

I'm using Box2D and I am putting edge tiles as b2Bodies so that the tile world can have physics:

![enter image description here][1]enter image description here

The problem is that there are 3 b2_kinematic bodies under the player right beside each other.

Every so often, he gets stuck like in this image (as if there were a very very small slope) and the player box gets stuck. I have to move him back a little to overcome it.

The player has fixed rotation which is what also causes this.

I'm not sure how to fix this.

Any ideas?

Thanks [1]: http://i.stack.imgur.com/LQmKB.png

I'm using Box2D and I am putting edge tiles as b2Bodies so that the tile world can have physics:

![enter image description here][1]

The problem is that there are 3 b2_kinematic bodies under the player right beside each other.

Every so often, he gets stuck like in this image (as if there were a very very small slope) and the player box gets stuck. I have to move him back a little to overcome it.

The player has fixed rotation which is what also causes this.

I'm not sure how to fix this.

Any ideas?

Thanks [1]: http://i.stack.imgur.com/LQmKB.png

I'm using Box2D and I am putting edge tiles as b2Bodies so that the tile world can have physics:

enter image description here

The problem is that there are 3 b2_kinematic bodies under the player right beside each other.

Every so often, he gets stuck like in this image (as if there were a very very small slope) and the player box gets stuck. I have to move him back a little to overcome it.

The player has fixed rotation which is what also causes this.

I'm not sure how to fix this.

Any ideas?

Thanks

edited title
Link
Trevor Powell
  • 21.2k
  • 1
  • 55
  • 92

Floating point pressisionprecision issue with Box2D

Source Link
jmasterx
  • 2k
  • 2
  • 25
  • 37

Floating point pressision issue with Box2D

I'm using Box2D and I am putting edge tiles as b2Bodies so that the tile world can have physics:

![enter image description here][1]

The problem is that there are 3 b2_kinematic bodies under the player right beside each other.

Every so often, he gets stuck like in this image (as if there were a very very small slope) and the player box gets stuck. I have to move him back a little to overcome it.

The player has fixed rotation which is what also causes this.

I'm not sure how to fix this.

Any ideas?

Thanks [1]: http://i.stack.imgur.com/LQmKB.png