Still have questions? Join our Discord server and get real time help.
0

# How do I spin a part that is welded to another part?

NewGPU 34
2 months ago
Edited 2 months ago

Hello, I want to have a constantly spinning part but it has a parent that is also a part that is welded to the part I want to spin.

I have highlighted what I want to spin in RED and what I don't want to spin in BLUE Image

I currently use this script but it spins both the parts.

while true do
script.Parent.CFrame = script.Parent.CFrame * CFrame.fromOrientation(0,0.4,0)
wait(0.01)
end


0
I've tried googling but I came up empty handed. NewGPU 34 — 2mo
0
I think the welding causes both parts to spin in unison. You need to unweld it and place the red object’s CFrame based on the blue one and spinning it at the same time. Rheines 582 — 2mo
0
Alternatively, use hinge constraints. Rheines 582 — 2mo