After seeing its announcement a few days ago I didn't think much of it, but after looking into it a bit this looks awesome !



Box3D was released a few days ago by legendary developer Erin Catto accompanied by a blog post, this is the person behind the popular Box2D engine.

In the blog post he explains that his work stems from his collaboration with Dirk Gregorius, "Principal Software Engineer II and Physics Architect" at Valve, the person behind Half-Life: Alyx's physics engine "Rubikon", which Box3D is based off.

Facepunch has also revealed that they have been using Box3D for about a year now as well in s&box. Showcasing a cool demo

An interesting quote from the blog post:

On the Valve side, Rubikon continues to evolve and Dirk has developed optimizations (similar to those in Box3D) in a new engine called Ragnarok. Look for that in future Valve games.

πŸ‘€
Did he just reveal Valve's next physics engine ?
+HL3 confirmed



Tweet transcript
I’m happy to announce the release of a new open source 3D physics engine called Box3D. I’ve been working on this project for a few years now, but it represents over 20 years of experience writing physics engines for games. Read more here: [blog post link]

all 11 comments

sorted by: hot top controversial new old
[–] 29 points 4 months ago (1 child)

Cross platform determinism

This sounds like a big selling point to me.

From what I understand, many of the existing physics engines are non-deterministic, which can make networking physics interactions in certain types of games pretty difficult.

  • source
  • hideshow 1 child comment
  • [–] 1 point 4 months ago
    [–] -2 points 4 months ago (7 children)

    Pretty sure most game engines already have 3D physics engines... Which is why this news keeps falling flat. I don't really get what's being offered.

    Is it free? Is it vastly more efficient? Is it being incorporated into one of the big three game engines?

  • source
  • hideshow 7 child comments
  • [–] 18 points 4 months ago* (last edited 4 months ago)

    Alyx's physics were genuinely groundbreaking. If this includes all the features they showed off in that game, it'll be one hell of a contender in the physics engine market.

    Though it would have been more impactful (ha) if they had released it six years ago alongside Alyx, back when the free physics options were all kind of crap compared to the commercial ones. Jolt has become the de facto free 3d physics solution within the past few years and it's also a huge step up over the old offerings.

    Edit: sadly it seems Box3D is based on a stripped-down version of Rubikon and doesn't really do much beyond extend Box2D to the third dimension. I guess its selling point is that it's probably much, much easier to integrate than Jolt, and that the API will be familiar to Box2D users.

  • source
  • parent
  • [–] 13 points 4 months ago (1 child)

    This guy made Box2D before, a high performant 2D physics engine that is free and open source and has been used in a shit ton of 2D games. So ofcourse devs are excited with this 3D physics engine. Yes it’s free and open source as well. It’s deterministic across different CPUs, which Unreal’s Chaos physics engine and Unity’s PhysX physics engine are not. This means that simulations with the exact same starting conditions will end up having the same result no matter the device the sim is running on. This a huge benefit for multiplayer games. And benchmarks say it’s performant. Someone already implemented it in Unity and it’s faster than the built in PhysX engine in most cases.

    It’s basically a free alternative to Havok. Havok is also a high performant deterministic physics engine, but costs tens of thousands to hundreds of thousands of dollars per game to use. Havok is what many triple A studios use in their games. Like Breath of the Wild uses Havok.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 4 months ago*

    A small addendum: Jolt, the other new-ish free physics engine this would be competing against, is also deterministic (with some caveats that Box3D hopefully avoids) and more performant than contemporary commercial offerings (the benefit of being new and not held back by decades of accumulated cruft and early design decisions such as obsolete threading models).

    What sets Box3D apart is that, like you said, many devs are already familiar with the 2d version of this engine and Box3D mimics its APIs aside from the added dimension. This makes it very easy to pick up for a large portion of the indie crowd.

  • source
  • parent
  • [–] [S] 9 points 4 months ago

    Usually they aren't very good, and proprietary way. This is fully open source and has some really good features like determinism and multi-threaded. It is much more precise and performant as well.

    If you check the blog post you can see that the impetus for making this game engine was how buggy Unreal Engine's "Chaos" physics engine was.

  • source
  • parent
  • [–] 5 points 4 months ago (2 children)

    Its FOSS. It does some things better, specifically than Unreal. Box2D is quite famous and well supported. Read the blog post if you want to know more details.

  • source
  • parent
  • hideshow 2 child comments
  • 9 comments in c/games@sh.itjust.works view that post
    [–] 17 points 4 months ago (7 children)

    In what way is it revolutionary? Genuinely asking. Is there something Box3D can do that all the other 3d physics engines can't?

  • source
  • hideshow 7 child comments
  • [–] 11 points 4 months ago

    Having more options is always good. Box3d uses box2d's api which is familiar for a lot of developers. Box3d also adapts a lot of Erin catto's latest research. He's pretty foundational to game physics, with many physics engines being built off his work and research, like jolt. Box3d is also very fast with a blazingly fast broad phase collision pass.

    Also Box3d is one of very few physics engines that simulates proper gyroscopic torques.

  • source
  • parent
  • [–] 1 point 4 months ago

    Not sure why that demo is cool.

  • source
  • 3 comments in c/programming@programming.dev view that post
    [–] 11 points 4 months ago (2 children)

    It's really cool, Box2D is still sort of the golden standard for 2D physics engines, and maybe Box3D can be that with enough support.

    But since announcement I'm still wondering what it offers versus other open source 3D physics engines. How does it compare to something like Jolt or Rapier? I only saw one person saying that Box3D is faster than Rapier when compiled to WASM, but we definitely need good comparisons at some point to know if this is a big deal or not.

  • source
  • hideshow 2 child comments
  • 2 comments in c/gaming@lemmy.zip view that post
    [–] 5 points 4 months ago
    • Large world support with doubles for position

    This should be a standard on all physics engines

  • source
  • [–] 0 points 4 months ago

    You showcased xcancel correctly on the second exhibit, but forwent on the OURL?

  • source
  • 2 comments in c/pcgaming@lemmy.ca view that post
    [–] 3 points 4 months ago (1 child)

    Does box3d work with godot?

  • source
  • hideshow 1 child comment