#Raycast Params Don't Work ._.

1 messages · Page 1 of 1 (latest)

ashen oracle
#

Part of my code: local rayParams = RaycastParams.new()

rayParams.FilterType = Enum.RaycastFilterType.Include
rayParams.FilterDescendantsInstances = {}

for _, Plot in pairs(plotsFolder) do
    local plotPart = Plot:FindFirstChild("PlotPart")
    
    if plotPart then
        table.insert(rayParams.FilterDescendantsInstances, plotPart)
        
        print(rayParams.FilterDescendantsInstances)
    end
end
#

The raycasting works, but when i put the params it doesn't.

waxen sequoia
#

how do you implement the params with the raycast?

honest patrol