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

How to changed a part's CFrame to location even if it gets inside parts?

Asked by 7 years ago

I've been having this question for ever. I clone a part and give it a Cframe, but if that cframe makes it gets inside a part, like a roof because the part is too big it just gets on top of the roof. How do i set it's cframe even if it gets inside other parts?

1 answer

Log in to vote
0
Answered by
fuj 49
7 years ago

Make sure the part you are attempting to bind into another part is anchored.

local part = Instance.new('Part', workspace)
part.Anchored = true
part:Clone().Parent = workspace
0
It is anchored Kiriyato 15 — 7y
0
is it possible you're using .Position instead of .CFrame? DropshipPilot 148 — 7y
Ad

Answer this question