GAMEFROMSCRATCH.COM
Godot 4.4 Gets Native Jolt Physics Support
With the just released Godot 4.4 Dev7 release, there has been a major change to the Godot physics engine. Previously implemented as a module only, integration of the Jolt Physics Engine is now directly in the game engine. Details from the Godot dev7 release:Ever since its inception in late 2022,godot-jolthas become the de-facto 3D physics engine for many of our developers. Much of the history behind why this was the case is documented inthis proposalbyAdam Scott, but the main takeaway was a strong push for this tool to be recognized as an official addon. In doing so, users would be able to find this amazing resource in a way that was promoted by the engine itself; an exciting prospect!The Godot Jolt maintainers,Mikael HermanssonandJorrit Rouwe, took this idea one step further: integrating the tool as part of the enginedirectly. There was already a symbiosis between their team and the Godot engine, with many features being added to GodotandJolt to accommodate both, but the integration of an official module was no small feat; their pull request (GH-99895) ended up adding over 500 files and 115thousandlines of code! So while this was one of the most rigorously tested PRs relative to the amount of time its been up, itd be impossible for any team to account foreverythingthis behemoth introduced, so we eagerly await your feedback (and bug reports) on one of the most highly-requested features of 4.x.Note:At time of writing, this doesnotreplace Godot Physics as the default 3D physics engine. The Jolt Physics integration in Godot is considered experimental, and may change in future releases. It also lacks some features of Godot Physics so isnt a full drop-in replacement. If your interests/use-case are supported, the tool can be enabled by changing thephysics/3d/physics_engineproject setting toJolt Physics.This isnt the only physics related Godot Engine announcement. In the recently released Godot Priorities document the following statements were made:Integrate Jolt as the default 3D physics engineJoltis an open-source (MIT licensed) modern, multi core friendly rigid body physics and collision detection library, tailor-made for video games. We want to make it available to users by default, the current GodotPhysics 3D engine would still be available as an option.Adapt the way Godot exposes physics to mirror JoltAs much as our nodes are made to be compatible with multiple physics engines, the existing integration of Jolt (via thegodot-joltadd-on) is not optimal, as there are numerous features that cant be implemented in Godot due to the current way the system works. In addition to integrating Jolt as the default 3D physics engine, we want to modernize our node bindings in order to fully exploit the new library.So not only is the Jolt physics engine now a native part of the Godot game engine, but it will also in the future become the default. This is a very good thing as you can see from the video below, Godot Jolt performs significantly better than Godot built-in physics!
0 Reacties 0 aandelen 22 Views