What’s up guys. Recently I’ve been trying to design this cool batman suit capsule from the movie Batman Vs Superman. I’ve looked up some tutorials on how to make this certain part that rotates around in place, but none of them are quite what I’m looking for.
for i = 1, 45 do
script.Parent.CFrame *= CFrame.Angles(0,math.rad(4),0)
wait()
end
wait(2) -- make longer depending on what you want
for i = 1, 45 do
script.Parent.CFrame *= CFrame.Angles(0,math.rad(4),0)
wait()
end
The only issue with just CFrame rotating the Union is that it spins around it’s center, not the center of the circle it’s supposed to spin in.
The model I built @Oliver_Queen takes that into account and uses the HingeConstraint as the pivot point.
I would have the main door (union) and weld it to another part which is positioned on the point you want the door to rotate around. CFrame/Tween/Rotate this part instead of the actual union.