Soft Body doesn't work from one computer to the next when export

Godot Version

4.3 Stable

Hi,

I have created my first game with Godot using Jolt.

It is a simple game where the user control a board and need to collect coins.

Unfortunately, for some reasons, when I export my game it is working on my “main” computer (the one where I have Godot install). But when I try to open my game on another computer, then the softbodyball doesn’t work !!

-My main computer have a rtx 3070, the other one a gtx 1060… So noting special…

I have recorded a video so that it is clear. As you can see, the ball is working fine on first computer, but it is not in the second one (it just fall, without bouncing).

Please see video below :

I have try to export with many setting (all, scene, asset, pck, pck embedded, etc…) but that is not resolving the issues…

So it seem I have something install on my main computer that is not on others :confused:

Check the way you exported it, it could be an issue with your export settings.

1 Like

I agree,

It is my first game I try to export…

But I’m making sure I’m exporting the Jolt addon…
I have tried many setting, as export all, export selected ressources, embed PCK or not, etc…

I have tried to NOT export the Jolt addon, and the ball does the exact same thing (pass through). But I don’t understand how can it work on one computer that not on another one, when I export all resources.

One possibility is that the addon is not working on the exported version but works in godot itself. Try to run the file game you exported, not the one in godot.

1 Like

Thx,

I did get it to work, I had to export with a Zip file, then it will create the necessary .dll files for Jolt

Do you know why can’t Godot create a simple .exe containing all the .dll for the Jolt addon ? Why does it need to have the .dll as a separate file ?

Screenshot 2024-10-11 221039

Since godot-jolt uses GDExtension it builds ontop of the Godot engine source dynamically. This is how it can be much faster than GDScript. dll stands for dynamicly linked library, I’m quite surprised it runs at all without the DLL.

Maybe they will make it a module within Godot when Jolt is made the default 3D physics engine, then it will be staticly linked.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.