Hello. Can someone explain what Node2D.to_local() and how it work, may be with a picture.
For example,
I have Node2D with position (global and local) Vector2(0,0)
I have some point var point: Vector2 = Vector2(3.5, 30)
So, node.to_local(point) returns (28.50028, -9.999864)
My naive representation says it must be point - node.global_position, but it not.
Yes, I’ve seen what inside to_local():