How to get highest point on a rotated Node2D? (image)

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

I’d like to get the highest point in a rotated Node2D (or Area2D).

The red point in the image is the point I’d like to get. How?

While rotating motion. get the positions and if the previous position is greater than the next… print(position)
I hope it works .

ramazan | 2021-10-11 11:46

:bust_in_silhouette: Reply From: ggez

Solved:
https://www.reddit.com/r/godot/comments/q5tejw/how_to_get_highest_point_on_a_rotated_node2darea2d/