I have sucessfully ported ODE4J physics engine to libGDX and is compatible with GWT/HTML builds. This makes it the only real option for using a physics engine for the libGDX GWT/HTML backend.

Versions

Both ODE4J v0.4.1 and v0.5.1 have been ported.

Version v0.4.1 GitHub repo: https://github.com/antzGames/gdx-ode4j

Version v0.5.1 GitHub repo: https://github.com/antzGames/ode4j

Where has ODE4J libGDX version been used?

Here are some games and projects and tutorials that have used v0.4.1 of ODE4J for libGDX:

https://github.com/MonstrousSoftware/VehicleTest

https://monstrous-software.itch.io/base-invaders

https://monstrous-software.itch.io/fps-demo

https://antzgames.itch.io/physics-in-a-browser

https://antzgames.itch.io/shotgun-wedding

https://antzgames.itch.io/tank-vs-dinos

3D FPS Tutorial using ODE4J

A full blown tutorial on making a libGDX FPS game using ODE4J can be found here:

Tutorial on creating a 3D game with LibGDX

Some videos showing ODE4J in libGDX:


<
Previous Post
Shotgun Wedding: libGDX Game JAM #24 Entry
>
Next Post
Tank vs. Dinos: My libGDX Jam #26 Entry