user1229164
user1229164

Reputation: 129

Java Physics Engine?

I have been playing around with Game development in Java, specifically with the Slick 2d game engine. I have an idea for a simple game, but I need a physics engine.

I have been searching the internet looking for a well-documented, free physics engine. I have never used a physics engine so I am looking for something relatively simple, with a lot of examples and documentation.

Upvotes: 4

Views: 15197

Answers (3)

ninjahoahong
ninjahoahong

Reputation: 2654

For 2D and 100% java, dyn4j can be considerred.

Upvotes: 1

Jack
Jack

Reputation: 133567

What about JBox2d? It's a straight port of the more notorious Box2D written in C++.

Upvotes: 4

Erica
Erica

Reputation: 2251

Box2D is pretty much the standard 2d physics library for most games out there. There's a port to Java here which is quite easy to use:

http://www.jbox2d.org/

Upvotes: 6

Related Questions