All of the objects welded to base part and its anchored, other parts are not anchored
Is the basepart of the model set to main? I will test this once I get home
unanchor everything except the main part
also make sure they have been welded well
I already made it. It’s still same
Already made it , double checked even.
use cframe instead of position and see if that helps
i think the problem is something to do with welding
you should weld all the parts to the handle you are rotating
I Re-welded everything and still got the same issue
Zero errors and none of the sword parts spinning. Only sword floating not spinning.
change the rad to 500 and see
This text will be blurred
math.rad(360) is the same as 0. I’m pretty sure it isn’t rotating while raising up because it’s already at that angle.
local goalCFrame = startCFrame * CFrame.new(0, 10, 0) * CFrame.Angles(0, math.rad(360), 0)
Then 1440 degrees as you later spin goal (4 rotations) still ends up at 0, so it’s tweening to that.
I searched 'tween rotate more than 360 degrees and got a few solved posts. Here’s one: Tweening Rotation
Maybe try pivoting the whole model instead of the basepart. That should work. You can use :PivotTo()
Can you show an example use of my code? I didn’t really understand the use the use of this function.
that won’t tween the model
Summary
This text will be hidden
@Fubryl
did you check my solution? it didn’t work?
did you check @Scottifly solutions? it didn’t work?
Either turn the sword into a union or use :SetPrimaryPartCFrame() to and update the parts position every time it moves the part.
local tweenService = game:GetService("TweenService")
local info = TweenInfo.new()
local function tweenModel(model, CF)
local CFrameValue = Instance.new("CFrameValue")
CFrameValue.Value = model:GetPrimaryPartCFrame()
CFrameValue:GetPropertyChangedSignal("Value"):Connect(function()
model:SetPrimaryPartCFrame(CFrameValue.Value)
end)
local tween = tweenService:Create(CFrameValue, info, {Value = CF})
tween:Play()
tween.Completed:Connect(function()
CFrameValue:Destroy()
end)
end
This code is from a forum i found that you can easily use.
isn’t that what you want?
Summary
This text will be hidden
It should tho. It tweens everything inside the model.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.