hi
I have been learing the jbox2d for 3 days, and I am writting a game on Android planform.
My problem is jbox2d seems too heavy for me, I would like it handing the connecting detect part of my game.
For example, imaging there is a football with radius 0.25 meter, and start falling from +3 meter abover the ground,
what I need is that when ball is near enough to the ground, I tell jbox2d: Hi, the ball is just 0.5meter from the ground, I would like to know the time it rebounds, and I will add a listener for that. When rebound finish, I shutdown the jbox2d utill another hit.
I found there is few documentation including the official tutorial help me understand how these mathematic methods works.
I have done some source code reading but still have no idea about the whole framework.
Can someone help me, explain the workflow of jbox2d?
Thank you 😀
I have been learing the jbox2d for 3 days, and I am writting a game on Android planform.
My problem is jbox2d seems too heavy for me, I would like it handing the connecting detect part of my game.
For example, imaging there is a football with radius 0.25 meter, and start falling from +3 meter abover the ground,
what I need is that when ball is near enough to the ground, I tell jbox2d: Hi, the ball is just 0.5meter from the ground, I would like to know the time it rebounds, and I will add a listener for that. When rebound finish, I shutdown the jbox2d utill another hit.
I found there is few documentation including the official tutorial help me understand how these mathematic methods works.
I have done some source code reading but still have no idea about the whole framework.
Can someone help me, explain the workflow of jbox2d?
Thank you 😀