I have a model that I need moved/rotated smoothly, I can achieve this with Tween Service. However, when I play the tween the model does nothing. I am tweening the root part which is the primary part of the model, and the rest of the model is welded or connected to the root with a motor6d.
Code with tween service (doesn’t do anything):
local lookAt = Vector3.new(nearestPlayer.HumanoidRootPart.Position.X, self.model.HumanoidRootPart.Position.Y, nearestPlayer.HumanoidRootPart.Position.Z)
TweenService:Create(self.model.HumanoidRootPart, TweenInfo.new(0.25), {CFrame = CFrame.new(self.model.HumanoidRootPart.Position, lookAt)}):Play()
Code with Lerp (works right):
local lookAt = Vector3.new(nearestPlayer.HumanoidRootPart.Position.X, self.model.HumanoidRootPart.Position.Y, nearestPlayer.HumanoidRootPart.Position.Z)
self.model.HumanoidRootPart.CFrame = self.model.HumanoidRootPart.CFrame:Lerp(CFrame.new(self.model.HumanoidRootPart.Position, lookAt), 0.5)
The model did actually rotate until I ungrouped the model and grouped it again, only thing that changed in the new group is Scaling became 1 unlike 0.019 which it was before. Still no reason for Tween not to work.
Genuinely so confused.