#amethyst #nphysics #physics #dynamics #3d

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

#571 in Science

Download history 17/week @ 2024-03-12 17/week @ 2024-03-19 19/week @ 2024-03-26 24/week @ 2024-04-02 9/week @ 2024-04-09 11/week @ 2024-04-16 19/week @ 2024-04-23 8/week @ 2024-04-30 10/week @ 2024-05-07 13/week @ 2024-05-14 16/week @ 2024-05-21 14/week @ 2024-05-28 14/week @ 2024-06-04 15/week @ 2024-06-11 10/week @ 2024-06-18 11/week @ 2024-06-25

53 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

~17MB
~340K SLoC