game:GetService("RunService").RenderStepped:Connect(function(dt)
local cf = placement:CalcPlacementCFrame(model, mouse.Hit.p, rotation)
model:SetPrimaryPartCFrame(cf)
end)
How can I Lerp or Tween this thing?
game:GetService("RunService").RenderStepped:Connect(function(dt)
local cf = placement:CalcPlacementCFrame(model, mouse.Hit.p, rotation)
model:SetPrimaryPartCFrame(cf)
end)
How can I Lerp or Tween this thing?
I believe this will work:
model:SetPrimaryPartCFrame(model.PrimaryPart.CFrame:Lerp(cf, .2)