Now I use it in the segment.
Theres a game object called tiles that has the tilemap and a collision object. I set the collisionobbject: collision shape to the tilemap. I set the group to “terrain” and mask to “ship” as I do with other game objects (for example the pipes).
The ship doesn`t collide unless I add a custom box shape and then it works. The tilemap compontent z is 0 and game object z is 1 (same as ship z)
Does it look right if you turn on physics debug? It’s pretty easy to accidentally move the tilemap component and not the whole game object causing the physics to offset.
I checked the “debug” for physics and it looks like the colliders are not there.
I did however delete the game object and recreated it and after setting the collision shape to the tilemap I still don`t see the collider anywhere on the map
Funny thing is if I set the collision object type to dynamic, the tiles get pulled down by gravity