Ideas on how to fix it?

Godot 4.3

my player is on layer 1 and mask 1, the enemy is on layer 3 and mask 1, both are on mask 1 so they can collide with the ground, which is a TileMapLayer, (I don’t know if it is possible to configure the TileMapLayer collision, I didn’t find anything on the internet that would help), does anyone have any ideas?, apparently the enemy starts to consider the top part of the player as the “floor” and start surfing on its head

Yes you can configure the tilemaplayer-collision under tileset “physics layer”. If the enemy has a mask with the player layer they can collide

sorry, I still don’t understand because I’m very new to Godot, and the translation of the engine to Brazil is very bad, but my Physics Layer 0 only has the linear velocity x and y functions and angular velocity

It might be because they have same mask

yes they do, but if i change one of them, the enemy or the player will fall from the map, i didn’t understand how to change the TileMapLayer collision layer

Maybe try this, the floor can be on layers 2 and 3, now the player can be layer 2 and enemy layer 3, that way they can both interact with the ground but not each other

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.