I was just wandering what would be the most efficient way to Raise and lower the main arm. Would it be cframe or are there other methods that are more efficient than cframing it? All replies are appreciated.
Try tweeting it.
chat limittttt
Do you mean tweening it? And if I do, don’t I need to still cFrame it?
Yeah, autocorrect, sorry. If you want it to grow in size, then get the size you want at the end of the tween and tween it.
I would tween it no matter wat anyway to make it smooth.
Alright, then yeah, do that. I can’t think of any other better method.
How would I go around lerping this? Like this?:
local Part = script.parent
Local R_Event = SOme event
R_Event.onserverevent:connect(function()
part.position = cframe.lerp(part.position.x + 1, 1)
end)
Weld all the parts to the front part and use CFrame.lookAt() with TweenService, if you want a more realistic movement look into easingStyles there is one which slightly overshoots, it makes it a bit more realistic.
This is because you are tweening position. not CFrame.
I think the best to do this is by Unanchoring all parts and Welding them together and to an anchored Root part as well. Setting the Root part’s CFrame would then move the entire Model.
Enum.EasingStyle.Back
is what you want.