0 votes

I'm trying to get the full rect of the used part of a tilemap and store the four sides in an array:

edgetiles = [
    map_to_world(get_used_rect().size).y, \
    map_to_world(get_used_rect().position).x, \
    map_to_world(get_used_rect().position).y, \

The problem is this gives me some strange values that don't correspond to the world coordinates of the isometric tilemap rect at all. My tilemap settings are:
enter image description here
Does this require some special setting to grab the edges in world space?

in Engine by (35 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.