How would I use TweenService to tween the CFrame of a model?

What is the problem?
So I’m attempting to tween the entire CFrame of a model using tweenservice, however I don’t know how I’d tween the CFrame of a model as it has no direct CFrame property.
What have I tried?
I’ve heard of lerp, but I generally would prefer to find out if there were any way I could use its smoother, more flexible counterpart.

1 Like

You can use https://developer.roblox.com/en-us/api-reference/function/Model/SetPrimaryPartCFrame
But this has floating point inaccuracies. You should weld the model to the primary part then tween the primary part.

1 Like

Thanks for the help, however; what if I have to animate said model? Wouldn’t welds break it?

You should use
https://developer.roblox.com/en-us/api-reference/class/Motor6D welds to animate it. This is the type of weld that is used to hold together and animate the default character.

1 Like

you can achieve this a tutorial was made here its really good : Introduction to Tweening Models

1 Like

Thank you both! I really needed these tips.

1 Like