기술 자료

Unity Engine

Unity Engine

Collision detection for tiles

Enable collision detection on a tilemap so that GameObjects with a Collider 2D component collide with the tiles.
읽는 시간 1분최근 업데이트: 한 달 전

Enable collision detection on a tilemap so that GameObjects with a Collider 2D component collide with the tiles.

Topic

Description

Enable collision detection for tilesAdd 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 referenceExplore the properties you can use to generate collision shapes for the tiles on a tilemap.

Additional resources