Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you move a model with moveTo while ignoring collision?

Asked by
EmK530 143
4 years ago
Edited 4 years ago

I have a boat I'm trying to move automatically while people are sitting in seats, but the boat moves extra far up above all the seats just because they're colliding. Is there some sort of way to move a model with moveTo while ignoring the fact that the boat is touching the seats just so it can move straight forward without a change of the Y position?

If there is some other fancy way to move the model then let me know.

0
:GetPrimaryPartCFrame and :SetPrimaryPartCFrame turtle2004 167 — 4y
0
When setting the Vector3 of a part it will move above obstacles when set. Setting the Cframe will ignore obstacles. User#5423 17 — 4y

1 answer

Log in to vote
0
Answered by
srimmbow 241 Moderation Voter
4 years ago

It's better to use SetPrimaryPartCFrame if you dont want it to change the Y.

0
This has nothing to do with using SetPrimaryPartCFrame ? User#5423 17 — 4y
0
Yes it does, the difference between MoveTo and SetPrimaryPartCFrame is that MoveTo goes over everything in its path and SPPC doesn't srimmbow 241 — 4y
Ad

Answer this question