What constraint are welds subject to in Roblox programming? (need the code)
Answers
Answered by
16
Answer:
The code is given down
Step-by-step explanation:
-- Create two parts and position them at the same height
local partA = Instance.new("Part")
local partB = Instance.new("Part")
partA.Position = Vector3.new(0, 10, 0)
partB.Position = Vector3.new(0, 10, 10)
partA.Parent = workspace
partB.Parent = workspace
-- Weld the two parts together
local weld = Instance.new("WeldConstraint")
weld.Parent = workspace
weld.Part0 = partA
weld.Part1 = partB
-- Update the position of the first part; the first part will move but the second will stay where it started
partA.Position = Vector3.new(0, 20, 0)
Answered by
9
Answer:
I don’t know srry
Step-by-step explanation:
Similar questions
Math,
5 months ago
Social Sciences,
5 months ago
Computer Science,
5 months ago
India Languages,
10 months ago
Environmental Sciences,
10 months ago
Science,
1 year ago