I have a hero he can dash and he can pass collisons but I dont wana pass some walls or some map parts
when he dashes his collisions dispear and when his dash compeleted collisons was coming back how can ı manage this ??
It’s a bit unclear what you mean. The tilemap is a component to show sprites in a certain grid arrangenent. Making this impassable is done with colliders, look into tilemap collider.
If you want only some walls to become passable, you could try something using the collision matrix, i.e. occasionally passable and impassable walls are on different collision layers. The other way would be checking a given wall with a raycast, and run the game logic on that specific wall.
1 Like