In this video we will talk about how to adjust the shape of a 2d collider in Unity.
Tilemaps in Unity allows us to quickly design levels for our games. The problem is usually with the colliders that our tiles generate. The automatically created collider doesn't always matches what we had in mind. Lucky for us there is a simple way to tweak it. Let me show you how in this video 😉
Assets used:
adamatomic.itch.io/jawbreaker
cainos.itch.io/pixel-art-top-down-basic
trevor-pupkin.itch.io/tech-dungeon-roguelite
My longer video courses teaching how to make 2D games in Unity :
courses.sunnyvalleystudio.com/
Tilemap collider 2d doc:
docs.unity3d.com/Manual/class-TilemapCollider2D.html
docs.unity3d.com/Manual/class-CompositeCollider2D.html
docs.unity3d.com/ScriptReference/Tilemaps.Tile.ColliderType.html
Join the discord:
discord.gg/RQEtYHz
You can support me through Patreon:
www.patreon.com/sunnyvalleystudio
00:00 Introduction
00:35 Installing tilemaps
02:27 Preparing tilemap for colliders
03:06 Tilemap Collider 2D
04:35 Composite Collider 2D
06:26 More complex tilemap
07:41 Problem - Collider doesn't fit
08:06 Tile Collider type
09:00 Adjusting collider shape
12:30 Learn how to make 2d games in Unity
#tilemaps #unity2d #gamedev #sunnyvalleystudio
22 ноя 2021