I have recently been trying to create an automatic airport for a showcase but I am struggling with programming the movements of the aircraft. I use a part which I place in roughly the centre of the aircraft as my Priority part. And I then use the C-Frame command to move the aircraft.
I have figured out how to make the aircraft move in one direction smoothly but I was wondering if anyone knows a way to create smooth C-Frame motion in-between designated points. Note: I am aware of the step by step movement of the C-Frame however I am looking to have something possibly smoother if not smooth in motion.
Thank you!
Lolaphobia
Tweens is the best way to go, I use TweenService for my UIs if I want to do something other than change the Size or Position. This enables you change other properties such as Color3 properties in a smooth motion like BackgroundColor3 or ImageColor3.
local qTween = game:GetService("TweenService")
local instance = v
local info = TweenInfo.new(
0.4,
Enum.EasingStyle.Sine,
Enum.EasingDirection.InOut
)
local goals = {
ImageColor3 = Color3.fromRGB(195,195,195)
}
local tween = qTween:Create(instance,info,goals)
tween:Play()
This is the same principle for BaseParts which you can use for your Planes