Tweening CFrame.Angles

I am trying to achieve a water spout that lowers down to a train car (This can have a varying height which is why I need to change the tween each time)

When I use CFrame.Angles the part just goes flying off in the distance.

I’ve tried searching for how to use this but I am unable to figure out what I am doing wrong.

local Lowering = TweenService:Create(Hinge, Info, {CFrame = CFrame.Angles(0,math.rad(-90),0)})

Any help is appreciated.

try:

local Lowering = TweenService:Create(Hinge, Info, {CFrame = Hinge.CFrame * CFrame.Angles(0,math.rad(-90),0)})
1 Like

Yep, I figured right after I made this it would work. I just did this in studio right before you sent this and it worked. Thanks though. Good job quickly identifying what I did wrong.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.