Detecting collisions between the charecter body and tilemap

Godot Version

4.3

Question

I want to add spikes to my game and i also want them to be tiles and not nodes. if i have to ill make them nodes but i really want them to be easily placeable from the tileset. anyway, i am having trouble deciding how to detect collision. i thought maybe i could put spikes on collision layer 2, but idk if theres a better way. basically i need advice

You can create them as scenes and then use the scene-collection-tileset of the tilemap to place them. This will work just like normal tiles, but with scenes