Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify that get_contact_local_normal is in global space #10678

Open
Eole211 opened this issue Feb 12, 2025 · 0 comments · May be fixed by godotengine/godot#103135
Open

Specify that get_contact_local_normal is in global space #10678

Eole211 opened this issue Feb 12, 2025 · 0 comments · May be fixed by godotengine/godot#103135
Labels
area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository topic:physics

Comments

@Eole211
Copy link

Eole211 commented Feb 12, 2025

Your Godot version: 4.3

Issue description:
In the documentation of the PhysicsDirectBodyState3D, could it be possible to specify that the get_contact_local_normal method returns the normal in global space ? I wasted some time thinking "Oh there is local in the name, then it should returns the normal in local space", until I got some problem with the results, and also read the get_contact_local_position doc which specify it is in global coordinate
It could be updated for PhysicsDirectBodyState2D too I suppose.

URL to the documentation page :
https://docs.godotengine.org/en/stable/classes/class_physicsdirectbodystate3d.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:class reference Issues and PRs about the class reference, which should be addressed on the Godot engine repository topic:physics
Projects
None yet
3 participants