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

the trait bound PhysicsBundle<'_, '_, f32, NPhysicsBackend>: SystemBundle<'_, '_> is not satisfied #17

Open
rosenjcb opened this issue Jan 4, 2021 · 1 comment

Comments

@rosenjcb
Copy link

rosenjcb commented Jan 4, 2021

I get this error:

error[E0277]: the trait bound `PhysicsBundle<'_, '_, f32, NPhysicsBackend>: SystemBundle<'_, '_>` is not satisfied
   --> src\main.rs:227:22
    |
227 |         .with_bundle(PhysicsBundle::<f32, NPhysicsBackend>::new()).unwrap()
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SystemBundle<'_, '_>` is not implemented for `PhysicsBundle<'_, '_, f32, NPhysicsBackend>`

And I import these types in as such:

use amethyst_physics::PhysicsBundle;
use amethyst_nphysics::NPhysicsBackend;

The reason why I do that is because I think NPhysicsBackend was moved out of amethyst a while ago. Any clue what's up?

@starwolfy
Copy link

starwolfy commented Mar 10, 2021

I work with the Amethyst master branch and I get the same issue with version 0.2.0 of physics and nphysics. Has there been an undocumented API change in this area or are there compatibility issues at the moment?

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

No branches or pull requests

2 participants