so i have a platform people can move and this platform is solid all around (no pass through*)
problem is that my players can use this platform to push themselves through solid tilemaps
it a platformer were this platform following your mouse is the gimick.
so yes platform will go near walls (trying to make it not go inside walls rn but thats a seperate thing)
i was wondering if there is a way to make the tilemap collsion stronger then the platforms
(platform is pushing through tilemap but i want tilemap to push through platform)
I haven’t tried it myself, but changing the value of collision_priority should fix the issue. I don’t see a way to change it for a TileMap, but you could try using a lower value for the moving platform.
I just tried it myself, and it works just fine if collision_priority is something like 0.01.
If you set it to -1, you should have gotten an error message, that says “set_collision_priority: Priority must be greater than 0.”