gecko0307 / dagon

3D game engine for D
https://gecko0307.github.io/dagon
Other
321 stars 30 forks source link

Developer experience of using newton-dynamics #82

Closed 0xEAB closed 5 months ago

0xEAB commented 1 year ago
0xEAB commented 1 year ago

Apart from this I’ve had a great experience and pretty much fun using Dagon. Everything else worked out of the box so far.

Kudos for how easy it is to build beautiful looking scenes (by simply following your tutorials and experimenting with a few things).

gecko0307 commented 1 year ago

Unfortunately I can't test under linux, but it must be something related to Newton compute plugins. To use NewtonPhysicsWorld.loadPlugins there must be at least one compatible plugin in the specified directory. Under Windows they are dgNewtonAvx.dll, dgNewtonAvx2.dll, dgNewtonSse4.2.dll, and the engine automatically selects the best compatible one.

If plugins are not used, world.loadPlugins should not be called.

gecko0307 commented 5 months ago

I've tested under linux with recently compiled libnewton, and it worked for me. Also dagon:newton now provides a local prebuilt library when building the project, and it is loaded if libnewton is not installed system-wide. Still no luck with plugins though. I'll add a notice about that to the README.