A handmade version of Physac for Java
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.
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();
...
First, include the release .jar in your project. Then create a new Physac
object.
Physac physics = new Physac();
physics.InitPhysics();
...
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!