Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Changing material changes roblox physics?

script.Parent.CornerWedgeAlpha.Touched:Connect(function()
		if debounce2 == false then 
			debounce2 = true
		for i,v in pairs (script.Parent:GetDescendants()) do
			if v:IsA("Part") or v:IsA("CornerWedgePart") then
		local fire = Instance.new("Fire") 
		fire.Parent = v
			end
		end
end
	local explosion = Instance.new("Explosion")
		explosion.Parent = script.Parent.Part
		explosion.BlastPressure = 40000
end)

^ this explodes like normal

script.Parent.CornerWedgeAlpha.Touched:Connect(function()
		if debounce2 == false then 
			debounce2 = true
		for i,v in pairs (script.Parent:GetDescendants()) do
			if v:IsA("Part") or v:IsA("CornerWedgePart") then
v.Material = ("Corroded Metal")			
local fire = Instance.new("Fire") 
		fire.Parent = v
			end
		end
end
	local explosion = Instance.new("Explosion")
		explosion.Parent = script.Parent.Part
		explosion.BlastPressure = 40000
end)

^ this explodes with much less force

do materials have effects on mass or is my script wrong in some way?

1 comment

0

denseness isn't weight

1 answer

✓ Accepted answer

Lets say you have ice. An ice part will float on water better then a brick part. There are physical properties associated with the different materials. Ice is less dense then brick. You can open the CustomPhysicalProperties section of a part to see the different material properties.

This discussion is preserved as it was. New answers, comments, and votes are closed.