Why does a blacklisted part on the ray get hit even though it is suppose to be ignored?

Why does parts in a blacklist with workspace:RayCast that is fired multiple times not ignore the parts in the RayCast Params. Such as using RunService, loop, or clicked multiple times.

-- This works by the mouse button being held and fired with RunService.RenderStepped from local script to server script
local Raycast_Params = RaycastParams.new()
	Raycast_Params.FilterDescendantsInstances = {Character, Handle, Tip, Part, findDirection}
	Raycast_Params.FilterType = Enum.RaycastFilterType.Blacklist

-- Don't mind the Origin and Direction
local Laser = workspace:Raycast(UnitOrigin, UnitDirection * length, Raycast_Params)
1 Like

Have you tried using prints to confirm that the blacklisted item is actually the one being hit.
Maybe its another part that is nearby.

1 Like

Yes I have, it would print the material and the name of it.

It would move the the laser closer to me which is because it is hitting the “Part” and the “findDirection”

Figured out why I need to make a folder and put the bullets inside.

1 Like