MoveTo() is not working

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

so i wnat to place a room at a postion with MoveTo()

  1. What is the issue? Include screenshots / videos if possible!

The issue is when i place a room and then try to place a room next to it it just spawn up like over the other romm but to the side like the room where was the room was gonna be placed

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

i tried to find but nothing was near my problem

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

-- This is an example Lua code block

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

1 Like

Maybe try using :PivotTo() instead of :MoveTo()?

As the Wiki says:

“If there are any obstructions where the model is to be moved, such as Terrain or other BaseParts, the model will be moved vertically upward until there is nothing in the way. If this behavior is not desired, PVInstance:PivotTo() should be used instead.”

Just note, that when you’re using :PivotTo() you will need to enter a CFrame value instead of a Vector3 value.

1 Like

how would i go on with like see if the room touch any thing?

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.