Skip to content

AndreaCatania/amethyst_nphysics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.