So I’m making a door for my game and it’s supposed to tween the door open. It does that, but it looks kinda funny because the part where it touched the wall moves as well, here’s a video
Is there any way i can fix this?
Here is the code just in case you need to see it.
script.Parent.ClickDetector.MouseClick:Connect(function()
local ts = game:GetService("TweenService")
local tweeninfo = TweenInfo.new(2)
local properties = {
Position = Vector3.new(255.972, 3.555, -2286.432),
Orientation = Vector3.new(0, 89.72, 0)}
local created = ts:Create(script.Parent,tweeninfo,properties)
created:Play()
end)