| Crates.io | amethyst_nphysics |
| lib.rs | amethyst_nphysics |
| version | 0.2.0 |
| created_at | 2019-09-26 17:15:15.559082+00 |
| updated_at | 2020-05-08 17:51:16.398766+00 |
| description | The NPhysics backend for the `amethyst_physics` crate. |
| homepage | |
| repository | https://github.com/AndreaCatania/amethyst_nphysics |
| max_upload_size | |
| id | 167889 |
| size | 105,906 |
This crate is the NPhysics integration of the amethyst_physics interface.
To use this backend you have to specify the class NPhysicsBackend in the PhysicsBundle as shown below.
use amethyst_physics::PhysicsBundle;
use amethyst::amethyst_nphysics::NPhysicsBackend;
let game_data = GameDataBuilder::default()
.with_bundle(PhysicsBundle::<f32, NPhysicsBackend>::new()).unwrap()
You can use this through amethyst_physics.