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

Is there a way to ignore collision, while teleporting a part to another?

Asked by 5 years ago

I'm trying to make Part1 teleport to bvPart (which is moving with bodyvelocity) and when the bvPart goes through, a building, Part1 goes above the building, and not to the CFrame of bvPart. How could I fix something like this?

0
Can you be a bit more specific? TheJellyNinja_XD13 62 — 5y
0
Like, instead of teleporting DIRECTLY to the part that I'm telling it to go to, It just teleports to the part, but if something is in the way, it goes directly above it.. Nights_Alpha 0 — 5y
0
Are you moving it by CFrame or by setting the Position property IcedVapour 153 — 5y
0
Moving it by CFrame Nights_Alpha 0 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago
Edited 5 years ago

this is what i do im assuming your part is not anchored if not just edit the anchored part out

local p = -- part
local pos = -- Position
p.Anchored = true
p.CanCollide = false
p.Position = pos
p.CanCollide = true
p.Anchored = false
Ad

Answer this question