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

README.md

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!

Requirements

  • Java 1.6+

Compiled Binaries

Releases

Maven Central

Maven configuration:

<dependency>
    <groupId>org.dyn4j</groupId>
    <artifactId>dyn4j</artifactId>
    <version>3.2.3</version>
</dependency>

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.

Links