Im making a weapon that uses raycast, and i want it to be able to bounce off terrain and disappear shortly after, but disappear immediately if it touches a player. Is there a way for this to happen without it also ignoring players?
You can cast a ray, check what it hit, and decide whether it should reflect or stop based on that.
Of course you can configure the raycast to interact with specific parts while still detecting players, to go about that you can use a combination of whitelist and blacklist filters.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.