Is it possible to create a Rotation and Position tweens at the same time for a model?

Please read this post before replying!
I need to create and start 2 tweens at the same time. 1st tween is for CFrame position, other one is for CFrame Rotation. 1st tween needs different time length and easing style from the 2nd tween. Problem is, if I run both of them they just override each other. If you have a solution, please LMK!

  • I’m tweening a model, since I tween the primary part which other parts are welded to, I must use CFrame.
  • Yes, I made sure all of my welded parts are unanchored besides primarypart
  • Yes, I know how to use TweenService
  • Yes, I know how to tween both of them with 1 easing style and 1 time duration
3 Likes
TweenService:Create("Your Item", TweenInfo.new("Your Time",
 Enum.EasingStyle.Linear),
 {Position = "Set position here",
 Orientation = "Set orientation"}
)
1 Like

This doesn’t contain CFrame, and it only features one type of EasingStyle. Please re-read the post if you’d like to post a solution.

1 Like

I dont understand what you mean

This does both at the same time, ill have to look into it for CFrame

Change it to whatever you like, dont complain about that

Edit, i see what i did wrong

Once again, I need to change Rotation and Position in different EasingStyles, meaning Rotation’s easing style would be different from Position’s EasingStyle. Second, I only need to change it to CFrame due to how models work.

1 Like
TweenService:Create(script.Parent, TweenInfo.new(1, Enum.EasingStyle.Sine), {CFrame = "Your Item".CFrame}):Play()

Might work, not sure if the CFrame Function will be overidded

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()
1 Like

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