You don’t need to track any changes at all, just this works without all the unnecessary stuff.
local tween = TweenService:Create(part.PrimaryPart, Tweeninfo, {CFrame = part.PrimaryPart.CFrame * CFrame.Angles(math.rad(-50), 0, 0)})
You don’t need to track any changes at all, just this works without all the unnecessary stuff.
local tween = TweenService:Create(part.PrimaryPart, Tweeninfo, {CFrame = part.PrimaryPart.CFrame * CFrame.Angles(math.rad(-50), 0, 0)})
doesnt work if it aint welded which i already addressed so dont see ur point?
fyi this how i would do this
local rotationSpeed = math.rad(50)
RunService.RenderStepped:Connect(function(dt)
part:PivotTo(part:GetPivot() * CFrame.Angles(rotationSpeed * dt, 0, 0)
end)
nice and simple
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.