CreedVI / Physac-J

Java binding for the Physac physics library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Physac-J

A handmade version of Physac for Java


About

Physac-J is a Java recreation of the Physac physics library written by Victor Fisac (@victorfisac) and Ramon Santamaria(@raysan5) for use in Raylib-J.


Usage

Raylib-J:

In version 0.4 or higher of Raylib-J Physac-J is available via the physac module of the raylib instance.

Raylib rlj = new Raylib(800, 600, "Example Code");
rlj.physac.InitPhysics();
        ...

Standalone:

First, include the release .jar in your project. Then create a new Physac object.

Physac physics = new Physac();
physics.InitPhysics();
        ...

Thanks

Thanks to Victor Fisac (@victorfisac) and Ramon Santamaria(@raysan5) for creating the original library and releasing it so people like me can do projects like this!

About

Java binding for the Physac physics library

License:zlib License


Languages

Language:Java 100.0%