Camera tween isn't smooth

the script I made is meant to make the camera travel in a smooth circle, but it does this
https://gyazo.com/27366f5daaacc51a77fd68b62de3a094

here’s the script

function Next()
	local nextpos = camparts:FindFirstChild('Cam' .. Count)
	if nextpos then
		tws:Create(camera,TI,{CFrame = nextpos.CFrame}):Play()
		Count += 1
		wait(1.5)
	else
		Count = 1
	end
end

while InMenu == true do
	Next()
end

it cycles through every camera part until the last one, then Count resets to 1.

anyone see a problem? or why it’s stopping?

your EasingStyle isnt linear, It goes in and out, try it linear. (In tween info btw)

now it has this weird bouncing effect…
I used circular so in theory it would travel in a circle
https://gyazo.com/8adcd7247f109f23004aa54eff7c7063

Circular looks something like this:
image

Linear is completely straight
image

You probably want to use Linear with EasingDirection In

:/, It looks like it isnt lining up… Also does easingDirecton do anything with Linear?

Also a look of all the EasingStyles

No. Linear is already y = x so reflecting it over itself doesn’t do anything.
The images I shown were made with a plugin I made: TweenService grapher - Roblox
You can check it out for easingstyles / easingdirections

Also its your position code, somethings wonky about it, In your circular EasingStyle it did the same thing…

I would recommend using CFrame:Lerp() to achieve the effect.

CFrame:Lerp() takes two arguments. The CFrame to lerp to, and the amount.

local TweenSpeed = 0.1

Camera.CFrame:Lerp(desiredCFrameHere, TweenSpeed)

Two things to note:

  1. For the best effect, call the :Lerp() function every frame
  2. This leap function will only get you so close. It technically never actually reaches your destination, just gets infinitely close. This will get a smooth movement regardless, and is fine for most situations.

Hopefully this helps!

tws:Create(camera,TweenInfo.new(Time,Enum.EasingStyle.Quad,Enum.EasingDirection.InOut),{CFrame = nextpos.CFrame}):Play()

Using Quad as your EasingStyle and InOut as your Direction, it SHOULD Create a smooth Transition!
(Slow Start – Faster Travelling – Slow End)

image
Quad with InOut does a funny

If it were to be completely smooth, linear would be the best, as acceleration wouldn’t really be smooth then

usually quad InOut has a slow start and a slow finish, which is useful if you don’t want your camera to just stop on the spot, or go just like that