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?
BEFORE BUMPING: THE WELD METHOD HAS ALREADY BEEN SHARED. (07.11.2022) There’s been a few times where new posts have mentioned a method already posted, especially the weld method. Please see the edit below which has a link to a tutorial on tweening models or post #2 for a summary of how to perform the method!
EDIT: 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 f…
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 m…
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