Hello. Ive been trying to make a model move to another place instantaneously upon joining the game. i believe moveto wont work because a wall is in the way. So i need another method.
Moveto stops whenever it is blocked. I need a method that can go through walls and happen instantly. (I dont want it to glide to the correct position via tweening)
I havent been able to find anything on the devforum or youtube. if you find something reply.
My script thus far.
script.Parent:MoveTo(Vector3.new(19.008, -61, -183.82))
Here is some info via image. Sorry for my bad handwriting.

1 Like
use TweenService. You can learn about it from roblox docs
1 Like
is statue a model or npc with humanoid?
It’s a model. Ill try your solution.
Use the function “PivotTo”, it’s the same as “MoveTo” but without avoiding the obstruction.

this was the result. Is there a way I can orient it to be the right orientation? We are on the right track.
It’s a CFrame so:
workspace.Model:PivotTo(CFrame.new(10,10,10) * CFrame.Angles(10,10,10))
Are you sure thats correct? When i try that i get this result.

script:
script.Parent:PivotTo(CFrame.new(19.108, -61.2, -183.82) * CFrame.Angles(0, 180, -90))
It is correct because it’s a CFrame value, and CFrame value’s contain orientation coordinates. You need to try to input values and see which numbers work out best.
Or you could manually set the orientation before hand.
script.Parent:PivotTo(CFrame.new(1,1,1) * CFrame.Angles()) -- Put orientation of "beforehand" orientation
move model to where you want, copy the position and orientation, and paste in script.
or do
script.Parent:PivotTo(invisibleAnchoredPart.CFrame)
I’m pretty sure its that value.
@hierogIyphical try
script.Parent:PivotTo(invisibleAnchoredPart.CFrame)
to save lot of time