[][src]Module amethyst_physics::servers

The servers are the amethyst_physics interfaces, that is possible to use in order to control ary physics engine that implements them.

Each server controls a specific part of the physics engine, and they are:

Is it possible to access them trough the PhysicsWorld.

Structs

AreaDesc

This structure holds all information about the Rigid body before it is created.

PhysicsWorld

This struct contains all the servers that can be used to control a PhysicsEngine.

RigidBodyDesc

This structure holds all information about the Rigid body before it is created.

Enums

BodyMode

The mode of a body.

JointDesc

Joint description, used during the joint creation.

JointPosition

Used to position the joint.

OverlapEvent

Overlap event

ShapeDesc

Shape description used to create a new shape using create.

Traits

AreaPhysicsServerTrait

This is the interface that contains all the area functionalities,

JointPhysicsServerTrait

Trait that defines the Joint server capabilities.

RBodyPhysicsServerTrait

This is the interface that contains all functionalities to manipulate

ShapePhysicsServerTrait

This is the interface used to manipulate the shapes The object that implement this interface is implemented by ShapePhysicsServer. It's stored as resource in the world.

WorldPhysicsServerTrait

This is the interface that contains all functionalities to manipulate the world. The object that implement this interface is wrapped by WorldPhysicsServer. It's stored as resource in the world.