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

How do I make Ray ignore not collidable parts?

Asked by
Neon_N 104
5 years ago

I know you can make Ray ignore parts with FindPartOnRayWithIgnoreList But I want to make pre existing parts with Cancollide off.

1 answer

Log in to vote
1
Answered by 5 years ago

I dont think there is a way to do that except from creating a table containing all non-collidable parts from workspace in it.

(A easy way to do this is uding workspace:GetDescendants())

0
Thank you. I have never thought of it. Neon_N 104 — 5y
Ad

Answer this question