The Wayback Machine - https://web.archive.org/web/20200619080736/https://github.com/Unity-Technologies/ml-agents/issues/3769
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Ray Layer Mask description in docs #3769

Open
fedetask opened this issue Apr 12, 2020 · 1 comment
Open

Missing Ray Layer Mask description in docs #3769

fedetask opened this issue Apr 12, 2020 · 1 comment
Assignees
Labels

Comments

@fedetask
Copy link

@fedetask fedetask commented Apr 12, 2020

In the Ray Design Agents documentation the Ray Perception parameter Ray Layer Mask is not mentioned. I am a bit confused about what does it do and if it interacts with the Detectable Tags parameter.

Screenshot from 2020-04-12 18-57-18

@fedetask fedetask added the request label Apr 12, 2020
@fedetask fedetask changed the title Missin Ray Layer Mask description in docs Missing Ray Layer Mask description in docs Apr 13, 2020
@andrewcoh andrewcoh self-assigned this Apr 13, 2020
@andrewcoh
Copy link
Collaborator

@andrewcoh andrewcoh commented Apr 13, 2020

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.

@chriselion chriselion mentioned this issue May 6, 2020
1 of 10 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.