local CandleDownPOS = {CFrame = CFrame.fromOrientation(-47.81, -99.48, 12.47)}
I know that the tween:Play() isn't there, but whenever I click the candle, it rotates but teleports. Please help!
local CandleDownPOS = {CFrame = CFrame.fromOrientation(-47.81, -99.48, 12.47)}
I know that the tween:Play() isn't there, but whenever I click the candle, it rotates but teleports. Please help!
Example:
local ts = game:GetService("TweenService")
local part = script.Parent
ts:Create(part, TweenInfo.new(1), {CFrame = part.CFrame * CFrame.Angles(0, math.rad(180), 0)}):Play()
When I do this, I put in the orientation and it doesn't rotate the way I want it to.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
You are only specifying the rotation. Try adding the position you want for the object in the CFrame.