Raycast params issue

i wanna make a thing like a fence and you can shoot through it (ignoring with raycast params) but you can’t walk through it, the issue only happens when you shoot directly at the fence part

here how it should go

here how it is…
image

What kind of raycast are you using?

1 Like

not sure what you mean, just default roblox raycast i guess

We cannot help you if we do not see the script.

1 Like

how are you finding the direction of the raycast, are you using the mouses world position, or something else?

1 Like

If you are using the mouse for the raycast or direction you might want to try this

It’s the section called target filter

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.