I need to completely stop the physics in a game, is there any way to do this?
Various physical objects like AlignPosition should not work either.
I had an idea to iterate through each object in the Workspace and switch each non-Anchored object to the Anchored state but if there are hundreds or even thousands of objects this will be very slow and inefficient. So I would like to know if it is possible to disable physics at the engine level?
Instead of Anchoring every object how about changing the Workspace Gravity?
The engine is designed to have physics constantly on, so the only real way is to anchor everything unfortunately.
An example of code that anchors everything is
for _, p in ipairs(game.Workspace:GetDescendants()) do
if not p:IsA("BasePart") then continue end
p.Anchored = true
Code doesn’t account for unanchoring everything later on though!
maybe dont have thousands of physics objects in the game?
Helpful feedback for the issue, thank you Imperiactor!