Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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?

4 comments

0

Can you be a bit more specific?

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..

0

Are you moving it by CFrame or by setting the Position property

0

Moving it by CFrame

1 answer

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

This discussion is preserved as it was. New answers, comments, and votes are closed.