So my Problem is, i have a portal, and its already nicely moving up and down, but not Spinning at all. i want to spin the Portal at the same time im moving it up and down.
local part = script.Parent -- is the PrimaryPart in the Portal Model
-- all other parts from the model are weld to the PrimaryPart
part:SetNetworkOwner(nil)
local sp = part.Position + Vector3.new(0, 1, 0)
game:GetService("RunService").Heartbeat:Connect(function(step)
local so = math.rad(10) * step
part.CFrame = CFrame.new(sp.X, sp.Y+math.sin(tick()), sp.Z) * CFrame.Angles(so, 0, 0)
end)
I hope someone of you can help me with this Problem bc i dont understand anything anymore… it works with a Tween but if i use Tween and Tween the Orientation of the Primary part the other Parts weird Moving around… yeah they are moving around and that looks like Shit.
Goal: A Nice Portal Moving up and down & Certainly Spinning to the Right. (Cylinder)