get_contact_local_position
returns global position
In Godot 4.2.2, get_contact_local_position
in PhysicsDirectBodyState3D
is documented as follows:
Returns the position of the contact point on the body in the global coordinate system.
Despite the function being labeled as a “local” position, the documentation here is correct and a global position is returned. The function has not been renamed in an effort to not break compatibility (See godotengine/godot#89938).
I consider this issue to be a Godot crime.