Enable collisionA collision occurs when the physics engine detects that the colliders of two GameObjects make contact or overlap, when at least one has a Rigidbody component and is in motion. More info
See in Glossary detection on a tilemapA GameObject that allows you to quickly create 2D levels using tiles and a grid overlay. More info
See in Glossary so that GameObjectsThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary with a ColliderAn invisible shape that is used to handle physical collisions for an object. A collider doesn’t need to be exactly the same shape as the object’s mesh - a rough approximation is often more efficient and indistinguishable in gameplay. More info
See in Glossary 2D component collide with the tiles.
| Topic | Description |
|---|---|
| Enable collision detection for tiles | Add a Tilemap Collider 2D component to a tilemap, choose which tiles collide, and merge shapes with a Composite Collider 2D component for better performance. |
| Tilemap Collider 2D component reference | Explore the properties you can use to generate collision shapes for the tiles on a tilemap. |