Question about CustomPhysics

Hi guys. I need help with physics. If I turn CustomPhysics on for a part, but set everything to 0, would that reduce lag or increase it? Would leaving it unchecked matter?

  1. What do you want to achieve? High FPS for my games.

  2. What is the issue? Parts cause lag when moved by using a script. Such as moving it with CFrame, Position, etc.

  3. What solutions have you thought of so far? People have told me to do things with the physics, but I don’t exactly know what to do with physics, because people don’t actually tell me what I need to do.

If you can tell me what to do when it comes to physics so I can hopefully make everyone’s FPS higher, please do.

1 Like

Can you provide more information, maybe part moving scripts?

1 Like

Like this.
Amount of parts is 100+

local TweenService = game:GetService("TweenService")

local Parts = script.Parent:GetChildren()

local function Move(Obj)
	local Info = TweenInfo.new(5, Enum.EasingStyle.Linear)
	
	local Goal = {}
	Goal.Position = Obj.Position+Vector3.new(0, 0, 240)
	
	local Tween = TweenService:Create(Obj, Info, Goal)
	Tween:Play()
	Tween.Completed:Connect(function()
		Obj:Destroy()
	end)
end

for i, v in pairs(Parts) do
	if v.ClassName == "UnionOperation" then
		local Unions = v
		task.spawn(Move, Unions)
	end
end
1 Like