aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md64
-rw-r--r--Cargo.toml3
-rw-r--r--benchmarks2d/Cargo.toml2
-rw-r--r--benchmarks2d/balls2.rs14
-rw-r--r--benchmarks2d/boxes2.rs22
-rw-r--r--benchmarks2d/capsules2.rs22
-rw-r--r--benchmarks2d/convex_polygons2.rs24
-rw-r--r--benchmarks2d/heightfield2.rs19
-rw-r--r--benchmarks2d/joint_ball2.rs14
-rw-r--r--benchmarks2d/joint_fixed2.rs18
-rw-r--r--benchmarks2d/joint_prismatic2.rs24
-rw-r--r--benchmarks2d/pyramid2.rs14
-rw-r--r--benchmarks3d/Cargo.toml2
-rw-r--r--benchmarks3d/balls3.rs12
-rw-r--r--benchmarks3d/boxes3.rs16
-rw-r--r--benchmarks3d/capsules3.rs16
-rw-r--r--benchmarks3d/ccd3.rs16
-rw-r--r--benchmarks3d/compound3.rs24
-rw-r--r--benchmarks3d/convex_polyhedron3.rs18
-rw-r--r--benchmarks3d/heightfield3.rs19
-rw-r--r--benchmarks3d/joint_ball3.rs17
-rw-r--r--benchmarks3d/joint_fixed3.rs21
-rw-r--r--benchmarks3d/joint_prismatic3.rs31
-rw-r--r--benchmarks3d/joint_revolute3.rs37
-rw-r--r--benchmarks3d/keva3.rs38
-rw-r--r--benchmarks3d/pyramid3.rs24
-rw-r--r--benchmarks3d/stacks3.rs60
-rw-r--r--benchmarks3d/trimesh3.rs19
-rw-r--r--build/rapier2d-f64/Cargo.toml10
-rw-r--r--build/rapier2d/Cargo.toml10
-rw-r--r--build/rapier3d-f64/Cargo.toml10
-rw-r--r--build/rapier3d/Cargo.toml10
-rw-r--r--build/rapier_testbed2d/Cargo.toml11
-rw-r--r--build/rapier_testbed3d/Cargo.toml11
-rw-r--r--examples2d/Cargo.toml2
-rw-r--r--examples2d/add_remove2.rs10
-rw-r--r--examples2d/ccd2.rs53
-rw-r--r--examples2d/collision_groups2.rs33
-rw-r--r--examples2d/convex_polygons2.rs24
-rw-r--r--examples2d/damping2.rs14
-rw-r--r--examples2d/debug_box_ball2.rs14
-rw-r--r--examples2d/heightfield2.rs19
-rw-r--r--examples2d/joints2.rs16
-rw-r--r--examples2d/locked_rotations2.rs18
-rw-r--r--examples2d/one_way_platforms2.rs39
-rw-r--r--examples2d/platform2.rs58
-rw-r--r--examples2d/polyline2.rs23
-rw-r--r--examples2d/pyramid2.rs14
-rw-r--r--examples2d/restitution2.rs14
-rw-r--r--examples2d/sensor2.rs41
-rw-r--r--examples2d/trimesh2.rs22
-rw-r--r--examples3d/Cargo.toml2
-rw-r--r--examples3d/ccd3.rs71
-rw-r--r--examples3d/collision_groups3.rs33
-rw-r--r--examples3d/compound3.rs32
-rw-r--r--examples3d/convex_decomposition3.rs18
-rw-r--r--examples3d/convex_polyhedron3.rs18
-rw-r--r--examples3d/damping3.rs16
-rw-r--r--examples3d/debug_add_remove_collider3.rs22
-rw-r--r--examples3d/debug_big_colliders3.rs14
-rw-r--r--examples3d/debug_boxes3.rs16
-rw-r--r--examples3d/debug_cylinder3.rs16
-rw-r--r--examples3d/debug_dynamic_collider_add3.rs28
-rw-r--r--examples3d/debug_friction3.rs16
-rw-r--r--examples3d/debug_infinite_fall3.rs18
-rw-r--r--examples3d/debug_prismatic3.rs50
-rw-r--r--examples3d/debug_rollback3.rs22
-rw-r--r--examples3d/debug_shape_modification3.rs28
-rw-r--r--examples3d/debug_triangle3.rs20
-rw-r--r--examples3d/debug_trimesh3.rs32
-rw-r--r--examples3d/domino3.rs20
-rw-r--r--examples3d/fountain3.rs14
-rw-r--r--examples3d/harness_capsules3.rs15
-rw-r--r--examples3d/heightfield3.rs23
-rw-r--r--examples3d/joints3.rs143
-rw-r--r--examples3d/keva3.rs38
-rw-r--r--examples3d/locked_rotations3.rs22
-rw-r--r--examples3d/one_way_platforms3.rs39
-rw-r--r--examples3d/platform3.rs63
-rw-r--r--examples3d/primitives3.rs16
-rw-r--r--examples3d/restitution3.rs14
-rw-r--r--examples3d/sensor3.rs40
-rw-r--r--examples3d/trimesh3.rs23
-rwxr-xr-xpublish.sh35
-rw-r--r--src/data/coarena.rs8
-rw-r--r--src/dynamics/ccd/ccd_solver.rs97
-rw-r--r--src/dynamics/ccd/toi_entry.rs26
-rw-r--r--src/dynamics/integration_parameters.rs13
-rw-r--r--src/dynamics/island_manager.rs22
-rw-r--r--src/dynamics/joint/fixed_joint.rs10
-rw-r--r--src/dynamics/rigid_body.rs204
-rw-r--r--src/dynamics/rigid_body_components.rs64
-rw-r--r--src/dynamics/solver/island_solver.rs4
-rw-r--r--src/dynamics/solver/joint_constraint/ball_position_constraint.rs8
-rw-r--r--src/dynamics/solver/joint_constraint/ball_position_constraint_wide.rs6
-rw-r--r--src/dynamics/solver/joint_constraint/fixed_position_constraint.rs40
-rw-r--r--src/dynamics/solver/joint_constraint/fixed_velocity_constraint.rs12
-rw-r--r--src/dynamics/solver/joint_constraint/fixed_velocity_constraint_wide.rs24
-rw-r--r--src/dynamics/solver/joint_constraint/generic_position_constraint.rs6
-rw-r--r--src/dynamics/solver/joint_constraint/revolute_position_constraint.rs6
-rw-r--r--src/dynamics/solver/parallel_island_solver.rs2
-rw-r--r--src/geometry/broad_phase_multi_sap/broad_phase.rs4
-rw-r--r--src/geometry/collider.rs266
-rw-r--r--src/geometry/collider_components.rs171
-rw-r--r--src/geometry/collider_set.rs58
-rw-r--r--src/geometry/contact_pair.rs16
-rw-r--r--src/geometry/interaction_groups.rs54
-rw-r--r--src/geometry/narrow_phase.rs328
-rw-r--r--src/lib.rs9
-rw-r--r--src/pipeline/collision_pipeline.rs10
-rw-r--r--src/pipeline/event_handler.rs25
-rw-r--r--src/pipeline/mod.rs6
-rw-r--r--src/pipeline/physics_hooks.rs69
-rw-r--r--src/pipeline/physics_pipeline.rs56
-rw-r--r--src/pipeline/query_pipeline.rs42
-rw-r--r--src/pipeline/user_changes.rs3
-rw-r--r--src_testbed/box2d_backend.rs25
-rw-r--r--src_testbed/camera2d.rs (renamed from src_testbed/camera.rs)1
-rw-r--r--src_testbed/camera3d.rs121
-rw-r--r--src_testbed/graphics.rs65
-rw-r--r--