Just have a simple question: can you tween welds instead of using lerp, and how can you? “TweenService:Create(Weld.C1, TweenInfo, {CFrame = Goal})” says “Unable to cast value to object”. Goal is a CFrame value.
Yes you can.
Exchange of doing Weld.C1, just do Weld when :Create(Weld.C1) Do :Create(Weld,morehere,{tablehere})
Since tween service will loop trough all the table {} and check if Object[FindIndex]
basically, you are creating a tween, when the object is a cframe, and you are trying to set goal, OF A CFRAME to a property named C1 that doesn’t exists.
TweenService:Create(Weld, TweenInfo, {C1 = Goal}):Play()
C1 Is a cframe!
5 Likes
Would this solution be applicable with WeldConstraint‘s as well? Or is there some kind of better work around to this?
WeldConstraint does not have a property for a CFrame.
1 Like