New Smart Bone primitive for open source contribution! create.roblox.com/store/asset/118242130994347
All setup and ready to go! You can configure the settings and use it for different things from a flag to a curtain!
Commenting out the asserts actually and data Logging used for debugging can increase your performance significantly.
I think it’s an issue with the bone actors code not properly disconnecting.
I made the modification to the runtime with this code to effectively handle when the object is not rendered locally.
render=RunService.Heartbeat:ConnectParallel(function(deltaTime)
shared.FrameCounter += 1
if shared.FrameCounter > FrameCounterOverflow then
shared.FrameCounter = 0
end
if (BonePhysics.ShouldDestroy or ForceDestroy) or RootObject.Parent==nil then
task.synchronize()
cleanup()
Actor:Destroy()
return
end