robloxapp-20210903-1803304.wmv (997.6 KB)
I’ve made wire physics in Roblox Studio, it works pretty well
robloxapp-20210903-1803304.wmv (997.6 KB)
I’ve made wire physics in Roblox Studio, it works pretty well
send in mp4 pls it looks like ip log
nice i like it can be used to make engineering games lol
Ok, what is ip log and i will try xd
I am trying to make, but I am dumb ;(
Im not comfortable downloading random files from random people, a video please?
how to send video? sorry i dont use dev forum for videos much
dont joke about it, may lead to some circumstances
This website is really useful.
Can you explain how it works please?
The script of wire:
Note: Don’t use it for commerical purpose, or don’t steal it, this is just for an idea on how it works
local startingbrickcolor = script.Parent.BrickColor
local canwork = true
script.Parent.Volt.Changed:Connect(function()
local partstouching = script.Parent:GetTouchingParts()
if script.Parent.Volt.Value >= 1 and #partstouching ~= 0 and canwork == true then
canwork = false
script.Parent.BrickColor = BrickColor.new("Bright blue")
local wirestouching = 0
for i,v in pairs(partstouching) do
if v:IsA("Part") and v.Name == "Wire" then
wirestouching += 1
end
end
if partstouching[1]:IsA("Part") then
local voltstogive = script.Parent.Volt.Value/wirestouching
for i,v in pairs(partstouching) do
if v:IsA("Part") and v.Name == "Wire" then
v.Volt.Value = voltstogive
end
end
end
wait(0.15)
script.Parent.Volt.Value = 0
script.Parent.BrickColor = startingbrickcolor
canwork = true
end
end)
So the voltage decreases with every wire part that touches it?
Yes you cannot keep infinite wires, if u keep 2 wires connected to 1 wire, the voltage divides equally
As mentioned above, its real physics
In that case, you forgot resistance.
Ok I will add it too, and making it real physics