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

Use LayerMasks for collisions and Raycasts #22

Open
mayant15 opened this issue Apr 15, 2020 · 0 comments
Open

Use LayerMasks for collisions and Raycasts #22

mayant15 opened this issue Apr 15, 2020 · 0 comments

Comments

@mayant15
Copy link
Member

Unity has Layers that can be used for collision detection and raycasts. One obvious benefit for using them is that you don't have to ignore hits manually when the rays won't hit that layer anyway. Tags would get messy for dealing with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant