All Questions
Tagged with physics-engine java
10 questions
1
vote
0
answers
57
views
JBullet - Shoving around objects
Sometimes in video games the players can walk up to certain objects for example boxes and barrels and shove them around.
How can I recreate this system? What function do I have to use to apply force ...
1
vote
0
answers
53
views
How to update the version of Box2D used in AndEngine?
I need help to use an updated Box2D library where the current version is > 2.3.0. I am unable to find a compatible library and do not know how to compile one for use with the Java Native Interface (...
0
votes
0
answers
129
views
LibGDX program crashing on on StepSimulation call
I am trying to add a Character Controller to a Discrete Dynamics World in Bullet via the LibGDX wrapper and everything seems to work, but when I attempt to update the world via the StepSimulation ...
0
votes
0
answers
59
views
Trying to create a knockback effect between 2 squares (Code in Java)
I've been in trouble for weeks now and I don't understand why it doesn't work for me! I have tried so many things and I just can not understand.
I try to get one player to get a knockback as soon as ...
0
votes
1
answer
120
views
What is wrong with my gravity calculation?
Im trying to create a method to calculate the fall time for an object using real formulas. Well I came up with this:
...
0
votes
1
answer
686
views
How do I prevent a Box2d dynamic body from sticking to static body walls in zero gravity?
I'm still making this air hockey game. I have it mostly there now, but the dynamic body which is the puck always sticks to the walls (static body rectangles that form the border of the table).
I read ...
1
vote
2
answers
197
views
Moving Sprite With Physics Frame
Normally, a physics frame in pink (see image below) gives the body for detecting hit signal. It usually either falls down or lifts up depending on the gravity orientation. The question is: Is it ...
5
votes
3
answers
12k
views
How can I make my main character move in a parabolic arc when jumping?
I'm entering Android game development, and I already have a computer version of a game I want to publish. The thing is, I want to make this as good as it can be. With that said, I need a physics ...
2
votes
1
answer
1k
views
Converting 2D Physics to 3D
I'm new to game physics and I am trying to adapt a simple 2D ball simulation for a 3D simulation with the Java3D library. I have this problem:
Two things:
1) I noted down the values generated by the ...
1
vote
3
answers
1k
views
What's the best open source physics engine to use with JOGL? [closed]
I have a past with jbullet but the existing jogl compatible sources and demos seems uncompleted. I have managed to implement it to an extent but still looking for a better documented engine with more ...