Java Collision Detection and Physics Engine
Latest commit 5121669 Nov 12, 2016 @wnbittle Updated some javadoc comments to be clearer; Updated the
DetectBroadphaseFilter to allow sensors to continue;

alt tag

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+

Compiled Binaries


Maven Central

Maven configuration:


Getting Started

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.