Model:MoveTo() not working properly for me?

When I do Model:MoveTo() it moves the model upward in the y axis even though the x and z axis are perfectly fine, I’ve been trying to work on this for so long, and I did the math all correct, I even did it manually.

2 Likes

Why don’t you make destination vecto’s y equal 0?

Example:

local Model = PATH_TO_MODEL
local destination = Vector3.new(10,30,45)

Model:MoveTo(Vector3.new(destination.X,0,destination.Z))
3 Likes

Do you have a primary part set to something in a model?

2 Likes

send your code so we get a better idea of whats going on

1 Like

just don’t use :MoveTo() lol???

1 Like

If I’m not mistaken, it might be because you are trying to move the model into something. MoveTo() respects collisions, so you would have to move the model using cframes.

2 Likes