Written entirely in Java with zero dependencies running on Java 1.6 or higher.
Over 1,000 automated JUnit tests and Sandbox GUI application.
Getting started is easy with Javadocs, wiki, and more.
Open source and free to use in commercial and non-commercial applications.
Getting started is as simple as downloading the latest version of the library, adding it to your project, and then taking a look at the ExampleJava2D and ExampleJOGL sample applications. Check out the samples for additional help.
Watch this 6 minute Quick Start Guide to see just how easy it is.
If you do get stuck though, take a look at the Documentation and Javadocs or start a topic on the forums.
Quick Start Guide
This release is primarily for a new collision shape called Link. This shape extends the existing Segment shape and provides for smooth sliding across chains of Links. There were some minor fixes and code clean up as well.
This is a maintenance release to fix a few critical bugs in the Polygon, Rectangle, and Segment classes for local rotations (see this post for details). This release also contains some small enhancements (a few new methods) to some of the joints and a complete rewrite of all the joint class javadoc documentation. The documentation[…]
The primary goals for this release were performance enhancements and API clean up. It took a lot longer than I had expected but I’m very happy with the results. Highlights include improvements in the performance of collision detection and ray casting operations and a much cleaner public API and more thorough javadoc comments. The API has been changed a[…]
Due to Google’s decision to drop Google Code, I’ve moved the project to GitHub. In truth, I’ve been contemplating this for a while now, but have had reservations about lost version history. I feel this will help others contribute bug fixes and allow them to create their own forks and branches easier than before. I[…]
This is a maintenance release of dyn4j that includes a bug fix for a StackOverflowException thrown from the raycast(Ray, double, boolean, boolean, List) method. This release also includes some very minor performance tweaks. See the change detail in the release notes. The Sandbox app was updated to fix a bug in the Java code exporter (Rays[…]
This is a maintenance release of dyn4j that includes some major bug fixes. See the change detail in the release notes. The Sandbox app was not updated in this release.
This release of dyn4j includes some major bug fixes for the SweepLine class and other related convex decomposition classes. It also includes some enhancements to the World.detect methods. See the change detail in the release notes. A new release of the Sandbox was published for this release for a small bug fix.
This release of dyn4j is a maintenance release to fix a bug in the Vector2.distance(double,double) method. It also had a few methods added to the Body class to get BodyFixture(s) at a given world space point. See the change detail in the release notes. A new release of the Sandbox was published for this release due[…]
This release of dyn4j is a maintenance release to fix bugs in the Ellipse.contains, Ellipse.getHalfHeight and HalfEllipse.contains methods. This release also had a bug fix in the Graphics2DRenderer class. See the change detail in the release notes. This release has one breaking change: the Ellipse.getPointClosestToPoint method has been removed. This method was based on an incorrect[…]