Commit Graph

114 Commits

Author SHA1 Message Date
Crozet Sébastien 4ca32a9546 Add one-way platform + conveyor belt demos. 2021-02-23 15:43:43 +01:00
Crozet Sébastien 00706e8b36 Introduce the PhysicsHook trait used for both contact filtering and contact modification. 2021-02-23 11:24:54 +01:00
Crozet Sébastien 4c9138fd2b Some minor cleanup and joint constraint refactoring. 2021-02-22 13:58:43 +01:00
Crozet Sébastien cc8dc13fc0 Add actuated ball and revolute joint to the 3D joint demo. 2021-02-21 17:23:24 +01:00
Crozet Sébastien 23a86c294e Allow using polylines as a collider shape. 2021-01-26 16:41:21 +01:00
Crozet Sébastien 8f7220f03d Rename cdl to parry. 2021-01-24 11:13:44 +01:00
Crozet Sébastien 90db26eb50 Fix warnings in tests and testbed. 2021-01-23 13:34:03 +01:00
Crozet Sébastien 57072f3ba7 Move ColliderShape out of Rapier. 2021-01-22 18:10:54 +01:00
Crozet Sébastien aa838279a6 Minor code simplification for the 3D heightfield example. 2021-01-22 16:11:10 +01:00
Crozet Sébastien cf52e01308 Merge branch 'master' into split_geom
# Conflicts:
#	examples2d/sensor2.rs
#	examples3d/sensor3.rs
#	src/dynamics/integration_parameters.rs
#	src/dynamics/solver/parallel_island_solver.rs
#	src/dynamics/solver/velocity_constraint.rs
#	src/dynamics/solver/velocity_ground_constraint.rs
#	src_testbed/nphysics_backend.rs
#	src_testbed/physx_backend.rs
#	src_testbed/testbed.rs
2021-01-22 16:10:24 +01:00
Crozet Sébastien 800b35b103 Add collider constructors for shapes obtained from convex decomposition. 2021-01-21 16:29:05 +01:00
Crozet Sébastien 8f330b2a00 Rotation locking: apply filter only to the world inertia properties to fix the multi-collider case. 2021-01-21 14:58:40 +01:00
Crozet Sébastien d69b5876f3 Fix velocity constraints for ball joints involving bodies with non-uniform angular inertia.
Fix #86
2021-01-20 17:20:01 +01:00
Crozet Sébastien 28b7866aee Switch to [u32; DIM] instead of Point<u32> for element indices. 2021-01-20 15:40:00 +01:00
Crozet Sébastien e2006599a8 Add 3D convex decomposition example. 2021-01-20 15:15:33 +01:00
Crozet Sébastien 1e9a962d34 Testbed physx backend: re-add joints. 2021-01-05 17:07:26 +01:00
Crozet Sébastien 924cb7bbb9 Add compound shapes to the heightfield and trimesh demos. 2021-01-05 16:13:02 +01:00
Crozet Sébastien 00da4aaa42 Add compound shape support. 2021-01-05 15:34:48 +01:00
Crozet Sébastien aa61fe65e3 Add support of 64-bits reals. 2021-01-04 15:14:25 +01:00
rezural 5ca82eeaee enable graphics and windows related code in examples 2021-01-03 19:56:53 +11:00
rezural 34e79e9afc unify callbacks with & without graphics & window 2021-01-02 16:46:52 +11:00
rezural 6f508e5d04 remove redundant time :f32 from harness callbacks. it can be access via run_state.time 2020-12-31 15:23:25 +11:00
rezural e11ace3831 cargo fmt 2020-12-31 13:31:30 +11:00
rezural f782013947 make examples compile, code that accessed window & graphics via the callback is currently disabled, until that is added back in 2020-12-31 13:24:29 +11:00
Crozet Sébastien ed529fb8dd Move the harness example to the examples folder. 2020-12-29 11:42:57 +01:00
Crozet Sébastien 29717c2887 Externalize the proximity code (renamed intersection). 2020-12-29 11:31:59 +01:00
Crozet Sébastien cc6d1b9730 Outsource the Shape trait, wquadtree, and shape types. 2020-12-29 11:31:00 +01:00
Crozet Sébastien 9bf1321f8f Outsource the contact manifold, SAT, and some shapes. 2020-12-29 11:31:00 +01:00
rezural c56ebcc663 refactor testbed to use harness 2020-12-24 17:58:37 +11:00
Crozet Sébastien a072d4056a Rename RigidBodyBuilder::principal_inertia -> principal_angular_inertia for clarity. 2020-12-01 15:07:04 +01:00
Crozet Sébastien 1e0f76b02c Add a 2D demo for locking rotation. 2020-11-30 15:41:32 +01:00
Crozet Sébastien 715d0fe16e Update the changelog + make the boolean flags more intuitive. 2020-11-30 15:35:36 +01:00
Crozet Sébastien c3e951f896 Add a simpler to lock the rotation or translation of a dynamic rigid-body. 2020-11-30 15:26:22 +01:00
Crozet Sébastien 391bcf372a Fix collider insertion/removal tracking. 2020-11-26 11:41:54 +01:00
Crozet Sébastien f293dc6024 Fix bogus collider removal in the broad-phase. 2020-11-26 11:40:59 +01:00
Crozet Sébastien 72eb66425d Add debug demos for rigid-body change tracking. 2020-11-25 15:58:52 +01:00
Crozet Sébastien 3379094f5a Minor demos changes. 2020-11-24 15:02:39 +01:00
Crozet Sébastien c7ed2c99c1 Heightfield and trimesh demos: ensure the heights are generated deterministically. 2020-11-22 16:36:19 +01:00
Crozet Sébastien 5ce3606582 Add explicit wake_up parameter to method setting the position and velocity of a rigid-body. 2020-11-19 18:13:39 +01:00
Crozet Sébastien da5f47df47 Move the infinite fall debug example to the 3D examples.
All our other debug examples were there.
2020-11-10 17:03:28 +01:00
Crozet Sébastien db337c5df6 Add damping support + demos. 2020-11-03 15:34:01 +01:00
Crozet Sébastien 502be0245c Add restitution. 2020-11-03 11:22:30 +01:00
Crozet Sébastien 380c204151 Add collision groups demos. 2020-10-27 14:35:01 +01:00
Crozet Sébastien 08930b1238 Fix multiple warnings. 2020-10-26 16:36:07 +01:00
Crozet Sébastien 2b628f9580 Redefine capsules as a segment with a radius, allowing us to reuse the pfm_pfm_contact generator for it. 2020-10-26 15:58:30 +01:00
Crozet Sébastien e028f45040 Update dependencies. 2020-10-26 14:33:31 +01:00
Crozet Sébastien f7a6f433d6 Rename rounded -> round. 2020-10-20 18:14:20 +02:00
Crozet Sébastien 6495847095 Add rounded cylinder. 2020-10-20 15:57:54 +02:00
Crozet Sébastien d513c22d33 Add cone support. 2020-10-20 14:16:01 +02:00
Crozet Sébastien 947c4813c9 Complete the pfm/pfm contact generator. 2020-10-19 16:52:08 +02:00