if t >= 1 then
egg.Position = endPos -- or egg.BasePart.Position (idk why this things didnt work)
return
end
local NewPos = ArcPos(StartPos, endPos, t, height)
egg.Position = NewPos -- or egg.BasePart.Position (idk why this things didnt work)
end)
egg is a part, and its script from module script
how do i get the model’s position while get the Part’s part
models dont have a position property but they do have a PivotTo() method
if t >= 1 then
-- egg.Position = endPos -- or egg.BasePart.Position (idk why this things didnt work)
egg:PivotTo(CFrame.new(endPos))
return
end
local NewPos = ArcPos(StartPos, endPos, t, height)
-- egg.Position = NewPos -- or egg.BasePart.Position (idk why this things didnt work)
egg:PivotTo(CFrame.new(NewPos))
end)