I’m working on a 2D platformer with a gimmick, you can turn the level 90 degrees, instantly. so the level turns but the player stays in the same location on the screen.
The problem I’m having is is i can get the tile map to turn without getting an “Invalid get index ‘rotation_degrees’ (on base: ‘TileMap’)” and i also can figure out how to rotate the tilemap on its center.
Any help?
your wordings probably not right, hence it’s confusing to read
this should be:
The problem I’m having is i can’t get the tile map to turn without getting an “Invalid get index ‘rotation_degrees’ (on base: ‘TileMap’)” and i also can’t figure out how to rotate the tilemap on its center.
that will need to set it from parent Node2D of this TileMap
set the Node2D’s position to be exact center as parent of this TileMap, Or move the tilemap to be the center of this Node2D node
then rotate this Node2D node instead of the TileMap