#how the FUCK do you tween a model

1 messages · Page 1 of 1 (latest)

native turtle
#

i cant anymore bro this is driving me fucking crazy i tried learning this months ago to no avail
tried again today and it just WONT WORK!!!!
i have this stupid ass model where both of those gray parts are welded to the red part via weldconstraint (the red part is set as the model's primarypart)

i have a clickdetector which tweens the primarypart's cframe to go upwards but GUESS WHAT!! ONLY THE PRIMARYPART MOVES AND THE OTHER PARTS STAY STATIC!!!!!!! AND THEYRE UNANCHORED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

local ts = game:GetService("TweenService")
local p = workspace.Test.PrimaryPart

script.Parent.MouseClick:Connect(function()
    ts:Create(p, TweenInfo.new(2, Enum.EasingStyle.Linear), {CFrame = p.CFrame + Vector3.new(0,10,0)}):Play()
end)

I cant anymore dude what am i even doing wrong

unreal elm
native turtle
#

wouldnt pivotto make it instantly move though

unreal elm
#

yes, but you'd call pivotto every frame by using a tween

native turtle
#

can you show me an example because idk how id use pivotto in a tween

unreal elm
native turtle
#

there has to be a better way to do it than that though ive seen people do it the way i tried a ton of times before it just doesnt work for me in specific i dont know why

unreal elm
#

the primarypart is anchored right?

native turtle
#

yes