#physics #dynamics #3D #amethyst #nphysics

amethyst_nphysics

The NPhysics backend for the amethyst_physics crate

4 releases (2 breaking)

0.2.0 May 8, 2020
0.1.1 Oct 23, 2019
0.1.0 Oct 5, 2019
0.0.1 Sep 26, 2019

#16 in #dynamics

Download history 20/week @ 2020-10-02 19/week @ 2020-10-09 12/week @ 2020-10-16 23/week @ 2020-10-23 18/week @ 2020-10-30 20/week @ 2020-11-06 18/week @ 2020-11-13 19/week @ 2020-11-20 24/week @ 2020-11-27 30/week @ 2020-12-04 19/week @ 2020-12-11 7/week @ 2020-12-18 5/week @ 2020-12-25 18/week @ 2021-01-01 19/week @ 2021-01-08 18/week @ 2021-01-15

74 downloads per month

MIT license

105KB
2.5K SLoC

NPhysics Amethyst backend

Build Status License Line of code

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.

Dependencies

~11MB
~235K SLoC