Raycast LayerMask (Javascript & C#) [UnityQuickTips]

Uploaded by Master Indie
Share: Twitter Facebook
[Unity3D] [Intermediate] [Javascript and C#]
Layer Masks on raycasts are used to selectively ignore game objects and colliders on certain layers. This can also be used for performance optimization.

Basic Raycast Tutorial: https://www.youtube.com/watch?v=hHaeiaXwSO8&index=4
RaycastAll Tutorial: https://www.youtube.com/watch?v=EmhOPJh7zUw
Raycast Layers Tutorial: https://www.youtube.com/watch?v=XO6KCCtGPpA&index=7
Spherecast & CapsulecastTutorial: https://www.youtube.com/watch?v=QbkGf74OehA