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

Remove unused Bullet module and thirdparty code #58946

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

akien-mga
Copy link
Member

It has been disabled in master since one year (#45852) and our plan
is for Bullet, and possibly other thirdparty physics engines, to be
implemented via GDExtension so that they can be selected by the users
who need them.

To be clear: This is for master only, Bullet is still used in the 3.x branch and there's no plan to remove it there. This PR is just a cleanup of code which was already disabled.

Supersedes and closes #47508 (can be salvaged if/when someone decides to make a GDExtension port of the bullet module, which will be facilitated by upcoming GDExtension improvements by @reduz).

There's some physics APIs which were only implemented in Bullet and now are unnecessary stubs, but I kept them for now as they might still be useful for a potential GDExtension implementation, or for other physics engines. To be reviewed by @godotengine/physics and possibly changed in a follow-up. I found notably:

  • PhysicsDirectBodyState3D::get_contact_impulse()
  • Shape3D::margin

It has been disabled in `master` since one year (godotengine#45852) and our plan
is for Bullet, and possibly other thirdparty physics engines, to be
implemented via GDExtension so that they can be selected by the users
who need them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant