Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreacatania/amethyst_nphysics
Amethyst physics - NPhysics backend
https://github.com/andreacatania/amethyst_nphysics
Last synced: 2 months ago
JSON representation
Amethyst physics - NPhysics backend
- Host: GitHub
- URL: https://github.com/andreacatania/amethyst_nphysics
- Owner: AndreaCatania
- License: mit
- Created: 2019-09-10T08:32:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-04T22:21:11.000Z (about 4 years ago)
- Last Synced: 2024-10-11T11:14:44.927Z (3 months ago)
- Language: Rust
- Size: 96.7 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NPhysics Amethyst backend
[![Build Status]](https://travis-ci.org/AndreaCatania/amethyst_nphysics) [![License]](https://github.com/AndreaCatania/amethyst_nphysics/blob/master/LICENSE) [![Line of code][loc]](https://github.com/AndreaCatania/amethyst_nphysics/pulse)[Build Status]: https://travis-ci.org/AndreaCatania/amethyst_nphysics.svg?branch=master
[License]: https://img.shields.io/badge/License-MIT-green.svg
[loc]: https://tokei.rs/b1/github/andreacatania/amethyst_nphysics?category=codeThis 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.
```rust
use amethyst_physics::PhysicsBundle;
use amethyst::amethyst_nphysics::NPhysicsBackend;let game_data = GameDataBuilder::default()
.with_bundle(PhysicsBundle::::new()).unwrap()
```You can use this through [amethyst_physics].
[NPhysics]: https://nphysics.org/
[amethyst_physics]: https://github.com/AndreaCatania/amethyst_physics