I have been searching every where and I can not figure it out.
So how would I ignore all parts in a table that I have?
This is for a raycast BTW
I have no idea what Im doing lol
I have been searching every where and I can not figure it out.
So how would I ignore all parts in a table that I have?
This is for a raycast BTW
I have no idea what Im doing lol
local params = RaycastParams.new()
params.IgnoreWater = true
params.FilterDescendantsInstances = {workspace.ModelOfPartsToIgnore, workspace.FolderOfPartsToIgnore, workspace.Part} -- place objects you want the raycast to ignore in here
params.FilterType = Enum.RaycastFilterType.Blacklist -- choose whitelist or blacklist
workspace:Raycast(Origin, Distance, params) -- params is the 3rd argument (raycastParams)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.