Module rhusics_ecs::physics2d

source ·
Expand description

2D physics ECS

Re-exports

pub use collide2d::*;

Structs

Circle primitive
Convex polygon primitive.
Rectangle primitive.
Square primitive.

Functions

Create systems for 2D and add to a Dispatcher graph.

Type Definitions

Body pose transform for 2D, see BodyPose for more information.
Broad phase brute force algorithm for 2D, see BruteForce for more information.
Collision shape for 2D, see CollisionShape for more information
Resolution system for 2D
Current frame integrator system for 2D
2D force accumulator
GJK algorithm for 2D, see GJK for more information.
2D mass
Next frame setup system for 2D
2D particle
SystemData for 2D
Broad phase sweep and prune algorithm
2D velocity