Collision Layers in Unity 2D - Tank game tutorial P5

Published: 23 February 2021
on channel: Sunny Valley Studio
7,698
105

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  


Watch video Collision Layers in Unity 2D - Tank game tutorial P5 online without registration, duration hours minute second in high quality. This video was added by user Sunny Valley Studio 23 February 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,698 once and liked it 105 people.