Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | OiKeTTLe |
I’m trying to make a dash that also disables collisions with walls, so you go through them. In the tileset I’ve made, the walls are on the wall layer (int 0 in collision_layer), and the ground is on int 1. The player is on both layers.
When the dash is activated, int 0 is set to false, so the player goes through the walls, which works as intended. However, the player also goes through the floor, which is a huge issue.
I’ve already made sure that int 1 also isn’t being disabled. Why does the player still go through it? Help is appreciated.
Nevermind, turns out the tilemap’s collisions override the collisions I’ve already set. Is there any way I can avoid using two separate tile sets?
OiKeTTLe | 2021-09-21 03:42