Skip to content

Api > MLBoneDynamics > SetMultiThread()


MLBoneDynamics.SetMultiThread(boolean value)⚓︎

Enable/disable multithread to improve physics simulation performace. Default is true.

Parameters:⚓︎

Name Type Description
value boolean True to enable or false to disable.

Usage⚓︎

---@type MLBoneDynamics
local mlbonedynamics;

---@type boolean
local value;


mlbonedynamics.SetMultiThread(value)