I have a Simply Box2D Game.
A Dynamic Player. A Static Floor. A static Diamonds Matrix.
You can see the problem in this video.
The player sometimes pass through the floor and the diamonds instead of walk over it.
I have analyzed the body.getPosition() before and after the player pass through the Static objects and this is the result:
body.getPosition().x = 0.5
body.getPosition().y = 1.0
body.getPosition().x = 0.48
body.getPosition().y = 0.51
I start the game.
I start to walk over the floor.
Randomly , the player collides with an invisible object, the player make a little jump and then pass through the floor.
Here's the place to get help and discuss features. The focus is on the C++ version, but generic questions are welcome.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests