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

Add new capabilities #202

Open
AndreaCatania opened this issue Jun 12, 2019 · 2 comments
Open

Add new capabilities #202

AndreaCatania opened this issue Jun 12, 2019 · 2 comments
Labels

Comments

@AndreaCatania
Copy link

While checking the code today I saw that during the physical world creation is not possible to specify the various internal parts (like the collision detection algortim dispatcher, the broad phase, the solver and so on) that the engine will use to perform its operation.

In bullet physics engine you have to initialize each part of the engine during the world creation.
For example this allow to inject an extended version of the default solver with particular capabilities that are not needed by a general purpose physics engine.

If this is not possible to do in nphysics right now, do you think that you will be ever interested in exposing all part of the engine to allow this kind of extensions?

@sebcrozet
Copy link
Member

Hi! Yes, this is something that we intend to allow in the future. I'm currently modifying the design of the ncollide crate (used by nphysics for collision detection) to expose its parts explicitly (broad-phase, narrow-phase, collision object set, and contact graph). If the design ends up working well, I intend to do something similar for the nphysics World.

@sebcrozet sebcrozet added enhancement P-medium Medium priority labels Jun 13, 2019
@AndreaCatania
Copy link
Author

AndreaCatania commented Jun 14, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants