[][src]Module amethyst_physics::prelude

Contains common types that can be glob-imported (*) for convenience.

Re-exports

pub use crate::objects::CollisionGroup;
pub use crate::objects::PhysicsAreaTag;
pub use crate::objects::PhysicsAttachment;
pub use crate::objects::PhysicsGarbageCollector;
pub use crate::objects::PhysicsHandle;
pub use crate::objects::PhysicsJointTag;
pub use crate::objects::PhysicsRigidBodyTag;
pub use crate::objects::PhysicsShapeTag;
pub use crate::objects::PhysicsTag;
pub use crate::servers::PhysicsWorld;

Structs

PhysicsTime

This resource is used by amethyst_physics to keep track of the physics time.

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.