My problem is that models teleport upwards when they're inside of objects, even if their parts have CanCollide set to false and Anchored set to true. The script is this:
local x = 0
local c = 0
--all this script is doing is oscillating the X position back and forth
while(wait(1/60)) do
c = c + math.pi/60
x = math.sin(c)*10
script.Parent:MoveTo(Vector3.new(x,1,1))
end
The object is this:
https://i.imgur.com/Yem7zXY.png
https://i.imgur.com/bi9Ol9f.png
The expected outcome is this:
https://i.imgur.com/m6TpJmv.mp4
What I actually get when using a model is this:
https://i.imgur.com/ayjcB9k.mp4
How can I force the model's position to be that of any Vector3, even if it's inside of another object?
Here's a link to download this .rbxl featured in the above screenshots

1 comment
Thanks, this is the kind of answer I was looking for!