Java Collision Detection and Physics Engine
A 100% Java 2D collision detection and physics engine. Designed to be fast, stable, extensible, and easy to use. dyn4j is free for use in commercial and non-commercial applications (see the New BSD License)
The project comprises over 1,000 JUnit test cases, a GUI test application called Sandbox, two example applications (ExampleGraphics2D and ExampleJOGL), Javadocs, forum, and more!
- Java 1.6+
<dependency> <groupId>org.dyn4j</groupId> <artifactId>dyn4j</artifactId> <version>3.2.3</version> </dependency>
Getting started is easy. Just grab the latest compiled binary and add it to your project's classpath, then take a look at the example applications for a quick start. For a little more detail see Getting Started.