KossmoZ
(KossmoZ)
February 23, 2019, 8:28pm
#1
Attempting to Tween an entire model using SetPrimaryCFrame, evidently it doesn’t work with the simple TweenGoal being :SetPrimaryCFrame etc. etc.
Does anyone have any clue on how I would succeed in doing this? Thank you.
BenSBk
(Ben)
February 23, 2019, 8:29pm
#2
There are already several topics answering this.
I been working with the Tween Service for awhile and it’s been doing me absolute wonders on my productivity, however it has a drawback. I can’t seem to use it on models.
Anyone know a good method that’s cheap on performance such as the server to perform tweens on models? I know there is lerp but is there another option?
EDIT 11.02.2018: I see this post is still getting linked. Please use the new method I’ve devised and posted on Community Tutorials as opposed to this. It is available here . Solution has been changed for this purpose as well.
I know you can tween parts but tweening a model is a little difficult. My aim is to use TweenService to tween a model.
In the past, I’ve tried:
Searching the forums and using the methods listed, which do not answer my question or fit what I want
Welding unanchored parts…
Note: A new thread exists! Please use that one over this one!
Some context and background to understand the situation and purpose of this thread.
Nearly a year ago, I came to the DevForums to ask how to tween models. I’ve always been a fan of tweening because the fluidity and smoothness is always aesthetically attractive - I used tweens or loops anywhere I could to get that aesthetic appeal. At this point, I only knew how to do it for singular items. Models have always been troublesome for me…
3 Likes
Sublivion
(Sublivion)
February 24, 2019, 1:39am
#3
You shouldn’t be using SetPrimaryPartCFrame() in this situation. It recalculates offsets each time, which despite being a built-in function, makes it quite inefficient to use repetitively (especially on bigger models).
Also, because it recalculates offsets each time, the offsets will eventually become offset. This means that your model will break apart over time.
You should consider using WeldConstraints and BodyMovers instead, or use one of the other solutions listed by ya boi DandyStan.
3 Likes