Module oxygengine_physics_2d::prelude[][src]

Re-exports

pub use crate::component::*;
pub use crate::resource::*;
pub use crate::system::*;

Modules

Dynamics-specific algebraic entities: velocity, forces, and inertias.

Counters for benchmarking various parts of the physics engine.

Collision detection information.

Persistent force generation.

Joints using the reduced-coordinates formalism or using constraints.

Material data structures.

Compilation flags dependent aliases for mathematical types.

nalgebra

ncollide

Objects that may be added to the physical world.

Constraint solver.

Miscellaneous utilities.

Volume and inertia tensor computation.

The physics world.

Structs

The activation status of a body.

A Ball shape.

A unique identifier of a body part added to the world.

SupportMap description of a capsule shape with its principal axis aligned with the y axis.

A geometric entity that can be attached to a body so it can be affected by contacts and proximity queries.

Data stored in each collider.

A non-deformable collider builder.

The data a collider set must return after a collider has been removed.

A compound shape with an aabb bounding volume.

A 2D convex polygon.

A feature (face or vertex) of a 2D convex polygon.

Shape of a box.

The default set containing all the bodies added to the world.

The default set containing all the colliders added to the world.

A deformable collider builder.

A deformable surface using FEM to simulate linear elasticity.

A builder for FEMSurface bodies.

A singleton representing the ground.

A 2D heightfield.

A deformable surface using a mass-LengthConstraint model with triangular elements.

A builder of a mass-constraint system.

A deformable surface using a mass-spring model with triangular elements.

A builder for mass-spring systems.

An articulated body simulated using the reduced-coordinates approach.

A multibody builder.

One link of a multibody.

SupportMap description of a plane.

A polygonal line.

A rigid body.

The description of a rigid body, used to build a new RigidBody.

A segment shape.

A shared handle to an abstract shape.

A triangle shape.

Enums

The status of a body.

Description of the way a collider is attached to a body.

The type of elements used to describe a deformation on a collision object.

An identifier of a feature of a convex polyhedron.

The type of force to be applied with the .apply_force methods of a Body.

Logical description of the location of a point on a triangle.

Description of the location of a point on a triangle.

Constants

The maximum number of possible rotations of a rigid body.

The maximum number of possible translations of a rigid body.

The maximum number of possible rotations and translations of a rigid body.

Traits

Trait implemented by all bodies supported by nphysics.

A abstract body descriptor to be passed to the physics World to create a body.

Trait auto-implemented for types that can be used as a Body handle.

Trait implemented by each part of a body supported by nphysics.

Trait implemented by sets of bodies.

Trait auto-implemented for types that can be used as a Collider handle.

Trait implemented by sets of colliders.

Trait implemented by shapes composed of multiple simpler shapes.

Trait implemented by all convex polyhedron.

Trait implemented by deformable shapes.

Trait implemented by all shapes supported by ncollide.

Traits of convex shapes representable by a support mapping function.

Type Definitions

The dimension of the rotation.

The inertia tensor type.

The angular vector type.

The body handle used by the DefaultBodySet.

The body part handle used by the DefaultBodySet.

The collider handle used by the DefaultColliderSet.

The dimension of the ambient space.

The force type combining a linear force and a torque.

The inertia type.

The inertia matrix type.

The transformation matrix type.

The type of a constraint jacobian in twist coordinates.

The type of a slice of the constraint jacobian in twist coordinates.

The type of a mutable slice of the constraint jacobian in twist coordinates.

Square matrix with dimension Dim × Dim.

The orientation type.

The point type.

The rotation type.

The rotation matrix type.

The dimension of a spatial vector.

Square matrix with dimension SpatialDim × SpatialDim.

The vector type with dimension SpatialDim × 1.

The translation type.

The vector type.

The velocity type combining the linear velocity and the angular velocity.