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

[PhysicsServer, Box2DDirectSpaceState], Missing implementation for helper functions #7

Open
Ughuuu opened this issue Jun 20, 2023 · 1 comment

Comments

@Ughuuu
Copy link
Contributor

Ughuuu commented Jun 20, 2023

There are some helper functions that don't use the world direct, but only query collision, etc:

From PhysicsServer:

_shape_collide

From DirectSpaceState:

_intersect_ray
_intersect_point
_intersect_shape
_cast_motion
_collide_shape
_rest_info

@Ughuuu
Copy link
Contributor Author

Ughuuu commented Jul 3, 2023

#5 Addresses a few of these(ray and point) but not fully. They still need a propert implementation, mainly problem is for Object* hack that godot-jolt also had.
This issue godotengine/godot-cpp#1066. Can be fixed though, it's just a matter of casting object correctly and testing.

These are not touched:

_intersect_shape
_cast_motion
_collide_shape
_rest_info

@Ughuuu Ughuuu changed the title PhysicsServer, Box2DDirectSpaceState, Missing implementation for helper functions [PhysicsServer, Box2DDirectSpaceState], Missing implementation for helper functions Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant