[][src]Trait amethyst_physics::PhysicsBackend

pub trait PhysicsBackend<N: PtReal> {
    fn create_world() -> PhysicsWorld<N>;
}

This trait, is used to create a PhysicsWorld object, which contains the physics servers.

The physics servers are, easy to use interfaces, that allow to control a physic backend using a unified set of APIs.

Check the available servers here.

Is it possible to access the servers from the PhysicsWorld object.

Note that a physical backed, is where the actual servers functionality is implemented.

Required methods

fn create_world() -> PhysicsWorld<N>

Returns the PhysicsWorld.

Loading content...

Implementors

Loading content...