-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Expose PhysicsDirectSpaceState.intersect_point()
to scripting
#3262
Comments
Perhaps could be fixed by godotengine/godot#41347. |
intersect_point
to GdscriptPhysicsDirectSpaceState.intersect_point()
to scripting
For the record, this is how
This will require a bit of refactoring as no such method exists in 3D. Besides, if backporting this to |
EDIT: these notes are for 3.x Bullet and GodotPhysics seem to have "common code" style for Implementations of |
Describe the project you are working on
3D first person shooter
Describe the problem or limitation you are having in your project
When using RayCast that starts and ends inside a shape, an intersection is not detected.
I need to know if the raycast starts inside an Area or not.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Expose
intersect_point
fromPhysicsDirectSpaceState
to GDscript.This is already exposed in 2D
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
PhysicsDirectSpaceState.intersect_point(.....)
If this enhancement will not be used often, can it be worked around with a few lines of script?
Will be used often, cant be worked around.
Is there a reason why this should be core and not an add-on in the asset library?
It already exists in engine, just needs to be exposed.
The text was updated successfully, but these errors were encountered: