So I been working with trying to learn more CFrame and experimenting with ToWorldSpace & ToObjectSpace again and I have been getting it more but fail to apply it, so this is what I am working with:
I have a Ring of these 8 parts but i want to rotate them relatively or locally to their own cframe heres what it would look like:
each part is rotated by 45 degrees locally on their axis, I’ve been attempting for the past 30 minutes and it just keeps positioning the part many studs away and I tried looking at videos about the topic too
If anyone could explain the topic more in depth for this it would help.
I just tried another attempt by not using ToWorldSpace or ToObjectSpace but it rotates half the parts the opposite
for _, part in pairs(script.Parent:GetChildren()) do
if part:IsA("BasePart") then
part.CFrame*= CFrame.Angles(0,0,math.rad(45))
end
end