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

QUICK QUESTION: Does the Touched function work with non CanCollide objects?

Asked by
Dad_Bot 34
6 years ago
Egg.Touched:connect(function(otherPart)
  if otherPart.Name == "Grass" then
print("grass")
else
print(otherPart.Name)
end
end)

I am wondering if Grass were non CanCollide, would I still see the printed "grass" as the egg part passes through it? If not, how would I achieve this feat. Thanks.

0
Pretty sure it will print when it touches CanCollide and non CanCollide parts. hellmatic 1523 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Yes, you can still touch it, you're just passing through it.

Ad

Answer this question