Move all points of polygon (collision/navigation)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Lebostein

Hi,

how I can select an move the entire polygon (CollisionPolygon2D or NavigationPolygon) in the editor? I mean the coordinates of the points only, no translation of the entire node…

Thanks!

:bust_in_silhouette: Reply From: Andrea

i dont think there is a multiselection tool for points in the editor, but you can go in the Data=>Polygon property and add a value to each point manually

Thanks, this is exactly what I wanted to avoid. With more than 20 points in several scenes this is not fun…

Lebostein | 2021-10-04 10:07

well, you can do that by script if that’s something happening frequently…
But why did you place the points translated on first place?
and why cant you just compensate with the node translation?

Andrea | 2021-10-04 10:10