I was working on an AI traffic stop and the turning of the cars is horrible. I have no clue how to make it turn smoothly.
local TS = game:GetService("TweenService")
--//Tween
local function Move(pointA, pointB)
local distance = (pointA.Position - pointB.Position).magnitude / 20
print(distance)
local data = {
Position = pointB.Position;
Orientation = pointB.Orientation
}
local info = TS:Create(script.Parent,TweenInfo.new(distance,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,.5,false,0), data):Play()
end