*irritated sigh* are there any good open source 3D physics engines that support wasm and *aren't* slop? I'm willing to compromise on the "good" part if necessary.
@aeva on the basis that old software doesn't actually die, I assume Bullet Physics is still around, and it was used widely enough that _probably_ someone WASM'd it at some point?
@jpab https://github.com/bulletphysics/bullet3/ well I don't have any significant slop concerns with those time stamps, so that's a positive. the readme also makes it sound like they're confident that it is easy to port, so that's promising at least
@aeva a previous emscripten-build based port(?) is at https://github.com/kripken/ammo.js/ - says javascript but it does mention WASM, I think it has a built setup for it. Not sure if it is even up to date with the "latest" bullet lib or not.
the grave yard of videogame game physics engines is impressively large https://www.tapirgames.com/blog/open-source-physics-engines :O
@aeva I've used Box2D. Dunno how far back on that one you have to go to get pre-slop code.
ok maybe I'm looking for the wrong thing here. The features I actually care about are queries (ray and simple shape casting), navmeshes, and constraints. I actually don't care about high performance physics simulation and consider it to be something of an albatross here, but I think the thing I want is usually called a "physics engine", but i figure if i have to have an actual physics sim to get all that i'll probably use it for incidental things
@aeva how's bullet3d looking these days
@mcc more or less the same as it did 15 years ago
@mcc which may or may not be a feature at this point
@aeva I mean... I'm absolutely no expert but it sounds like you're looking for the right thing. Once you have "constraints" in your list of features I don't know where you'd get that without going to a physics engine :-/
(No idea about the "navmesh" part - I guess there's Recast/Detour so "navmesh library" is kind of a thing on its own)
side thought, i think it's really funny how radically disconnected every physics engine demo is from how they're actually used in games. ah yes, the stack of too many cubes, everyone loves that game
@aeva having done a similar inventory check some months ago, I also found a similar gulf in simple shape tests and full fledged rigidbody simulation libraries ( not to mention slopification 😐 )
@aeva i wish everyone with their brainworms would fuck off somewhere they won't bother the rest of us. maybe mars, since they probably all love elon musk
@aeva I added Jolt to my space sim prototype, then replaced it with Box3D. I may have to go back to my idea to write my own one (I do have some odd desired features like 1000000:1 or higher ratios, fixed point positions, etc).
I don't know what the AI state of PhysX is, but its owned by Nvidia so it's just a matter of time.
I don't see any evidence that Newton Game Dynamics is using AI. (It's the physics lib used in Amnesia series, Soma, Penumbra series)
@aeva Anyway, my space sim will need more changes, it's using Raylib which has Claude commits. :(
@aeva Hard fork one of them before they started to add the slop features.
I only have a very simple 2D one unfortunately, in a D language engine, mainly as a placeholder
Jolt has a big AGENTS.md turd sitting in the project root, and their readme says to use a different project if you need physics in a wasm build anyway.
Box3D looks perfect on paper, but the end of the readme says that he only uses the best hand picked slops for quite a lot of things, so that's also a non-starter.