So I have this tween that changes the CFrame.Angles of a part:
local p5Tween =
TweenS:Create(Phase5Resources.Tube,
TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.In),
{
CFrame = Phase5Resources.Tube.CFrame * CFrame.Angles(math.rad(27), 0, 0)
})
The part is a union btw, not sure if that is a problem.
My issue is that the starting value for orientation is 80.96, -1.27, 0 and after the tween is complete it becomes 72.04, 178.73, 180. How do the Y and Z values change if I only affected the X value?
Sorry if its unclear, I am new to scripting. Also the tween does run.