Java port of a simple, open source, 2D impulse based physics engine for educational use.
Java
Switch branches/tags
Nothing to show
Pull request Compare This branch is 18 commits ahead, 1 commit behind RandyGaul:master.
Latest commit 28ebc82 Jun 30, 2015 @ClickerMonkey Merge pull request #1 from pieter3457/patch-1
fix minor friction calculation bug
Permalink
Failed to load latest commit information.
.settings
src/org/magnos/impulse
test
.classpath First Commit! Jun 20, 2013
.gitattributes Initial commit May 31, 2013
.gitignore First Commit! Jun 20, 2013
.project
EclipseFormatter.xml First Commit! Jun 20, 2013
README.md
build.properties First Commit! Jun 20, 2013
build.xml
jimpulse-demo.jar
jimpulse.jar Updated demo and jar Jun 21, 2013

README.md

Stable

Java port of Impulse Engine Created by Philip Diffenderfer

The Impulse Engine is a small 2D physics library written in Java and has no third-party-library dependencies.

This port is meant to be nearly an exact port, additional comments and functions have been added to the vector (Vec2) and matrix (Mat2) classes. The port does needlessly instantiate Vec2 and Mat2 objects (opposed to using a cache of these objects) but no negative effects have been measured.

This project was created and developed in Eclipse, the formatter is included.

In the test folder, there is a simple game engine that uses Java2D in order to show how the library works (taken from my blog - http://gameprogblog.com). To run the demo download jimpulse-demo.jar and run it.

This has been tested with Java 1.6 and 1.7.

Screenshot of TestImpulseEngine

 photo ImpulseEngine_zps05c537c9.png