MissingDeadlines / iolite

A highly flexible, voxel-powered game engine with an embedded editor. Create games using Lua, the native C/C++ API, and assets authored in voxel editors like MagicaVoxel or Avoyd.
https://iolite-engine.com
MIT License
188 stars 13 forks source link

Performance issues for minecraft sample #69

Open nicolas-goyon opened 1 month ago

nicolas-goyon commented 1 month ago

I've just started the engine editor and found a minecraft sample, change the grenade to large and blow it into a house. The engine freezed for about 1 to 2 minutes.

I have a 10th gen Intel I7, 16GB of ram and an NVIDIA GeForce 1650 Ti.

And none of it were fully used, so maybe the engine doesn't correctly multithread and may have some wait that slow the process wich cause errors.

begla commented 1 month ago

The sample needs to be correctly set up for some recent changes in how radius damage is applied. This causes thousands of rigid bodies to be created internally in the Minecraft chunk. The engine extensively uses multithreading, but PhysX does not cope with this scenario. The sample will be overhauled in the next beta build. I'll keep this issue open as a reference.