Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMissing Ray Layer Mask description in docs #3769
Open
Labels
Comments
|
Thank you for pointing this out. We will clarify this parameter in the documentation. In Unity, you can associate each object with a 'layer'. The layer mask in the ray perception script enables you to use raycasts that ignore certain layers i.e. if you want to have ray casts that only detect a ball and you want to prevent the raycasts from being obstructed by other agents. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


In the Ray Design Agents documentation the Ray Perception parameter
Ray Layer Maskis not mentioned. I am a bit confused about what does it do and if it interacts with theDetectable Tagsparameter.