But this thing does it only in 1 easing style, and in 1 timeframe.
I need 2 EasingStyles and 2 timeframes, 1 EasingStyle and 1 timeframe for CFrame position and 1 EasingStyle and 1 timeframe for CFrame rotation.
I need it to tween at the same time
But this thing does it only in 1 easing style, and in 1 timeframe.
I need 2 EasingStyles and 2 timeframes, 1 EasingStyle and 1 timeframe for CFrame position and 1 EasingStyle and 1 timeframe for CFrame rotation.
I need it to tween at the same time
I might be wrong since its been 3 years since I’ve touched CFrames but I’m pretty sure CFrames use both rotation and position?
i dont think You can run 2 different EasingStyles at the same time, one will overwite the other
Yes, but he is talking about tweening a Model
That’s why I’m asking if anyone got a solution for this.
Yes, you can tween a model with cframes AND orientation/position? I don’t know why you wouldn’t be able to?
There are different ways of going about it but traditionally, you can weld the parts to a single main part and then tween that main part.
OR
Use Pivots:
Pretty much, but he is also talking about running 2 EasingStyles at the same time
Updated the post, I hope it’s more information now.
Rereading this, I’m assuming you want to do something like:
local object = objecthere
local tweenTime = 2
local tween1 = TweenService:Create(object, TweenInfo.new(tweenTime,
Enum.EasingStyle.Linear),
{Position = "Set position here"}
) -- Tweens location in linear
local tween2 = TweenService:Create(object, TweenInfo.new(tweenTime,
Enum.EasingStyle.Quad),
{Orientation = "Set position here"}
) -- Tweens rotation in quad
tween1:Play()
tween2:Play()
Correct, but with cframes and different times
Simply add wait to it, thats all
Need it to be at the same time
Im confused, you are saying at the same time and at a different time?
Tweens starts at the same time, but the durations are different
Just set the duration to the same
Edit: (I assume EasingStyles)
So the EasingSytles have different movements, they are the same duration but with different animation
I can’t, I need it to be different.
Just do what FutureNoob posted but change the tweenTime for each of them, they will play at the same time but finish at different times
Once again, I need CFrame, since it’s a model.
The duration will be the duration you put.
If you play both as I show, it will play at the same time. It will end based on the duration you put so there is no issues there.
However, for wanting both to be CFrames in terms of rotation and position, I might be wrong but I don’t think thats possible (Please correct me if I’m wrong)
CFrame is a mix between both Position and Rotation. So attempting to tween with one cframe, and playing another cframe tween ontop of it will just glitch eachother into oblivion.
Is there a reason why you’re adamant on it being CFrame?
You can use position and orientation for models as well.
One simple solution is to add welds, set a primarypart, and tween the primary part