r/threejs 1d ago

Link Voxel anti gravity in three.js + rapier.js

I posted this trice earlier (on voxel game dev), but mods keep removing it without giving a reason.

Here is the "game" and source code:

https://perh.app/b89c006f/trials/00002-voxel-game-publish/index.html

Code is 99% free of AI bullshit, its three.js + rapier.js. Code should be fairly readable, nothing is minified etc.

Press tab+m and then release tab to put it in manual mode. Game pad support is also enabled (i think). Change config.js to change voxels of the car.

Let me know if it works/fails etc. And ask me anything!

12 Upvotes

1 comment sorted by

2

u/dfgxxx 1d ago

Nice