In this Unity tutorial we will explore collision layers and collision matrix to improve the way we detect the bullet collisions. This is part of the 2D Top Down Tank game tutorial series. Playlist • Top Down 2D Tank Game
00:00 Introduction
00:48 Recap
01:05 Bullet collides with everything problem
02:05 What are collision layers?
03:00 Creating collision layers
05:13 Setting Collision Matrix
06:51 Testing the result
07:13 Preventing bullet and self collision
07:59 Why my trigger doesn't work?
09:17 Support me maybe?
Resources
Scripts and UnityPackages: https://github.com/SunnyValleyStudio/...
Full project: https://drive.google.com/drive/folder...
Would you like to learn how to make a 2d shooter in Unity?
https://courses.sunnyvalleystudio.com/
You can support me through Patreon:
/ sunnyvalleystudio
Assets used:
https://www.kenney.nl/assets/topdown-...
https://github.com/sparklinlabs/super...
Join the discord:
/ discord