Commit Graph

147 Commits

Author SHA1 Message Date
Sébastien Crozet
412fedf7e3 Start fixing the parallel version. 2022-03-20 21:49:16 +01:00
Sébastien Crozet
fb20d72ee2 Joint API and joint motors improvements 2022-03-20 21:49:16 +01:00
Geoffrey Hayes
0ef55c7df7 Start to Load World State
This patch starts to load world state for debugging. The next step is to make sure that deserialization exactly matches the format of world.takeSnapshot().
2022-03-06 22:46:12 +01:00
Sébastien Crozet
e6af3384e1 Move convex decomposition example models to the assets folder. 2022-01-23 16:49:03 +01:00
Sébastien Crozet
0703e5527f Fix some solver issues
- Fix the wrong codepath taken  by the solver for contacts involving a collider without parent.
- Properly adress the non-linear treatment of the friction direction
- Simplify the sleeping strategy
- Add an impulse resolution multiplier
2022-01-16 16:52:40 +01:00
Sébastien Crozet
a0d197e691 Update the testbed to use bevy 0.6 2022-01-09 20:41:41 +01:00
Sébastien Crozet
f74b8401ad Implement multibody joints and the new solver 2022-01-02 16:58:36 +01:00
Sébastien Crozet
f7643272f4 Implement limits for ball joints. 2021-08-08 18:38:12 +02:00
Sébastien Crozet
ac77c95c9c Implement limits for revolute joints. 2021-08-08 18:38:12 +02:00
Crozet Sébastien
77a6cd3f26 Release v0.10.0 2021-07-11 19:21:50 +02:00
Crozet Sébastien
59e5d8e7f9 Add nalgebra to the prelude to make the macros work out of the box 2021-06-03 10:21:18 +02:00
Crozet Sébastien
e0e341214c Update dependencies 2021-06-02 16:00:23 +02:00
Crozet Sébastien
1839f61d81 Add a velocity-based platform the the platform demos. 2021-06-01 15:02:48 +02:00
Crozet Sébastien
826ce5f014 Rework the event system 2021-06-01 12:36:01 +02:00
Crozet Sébastien
1bef66fea9 Add prelude + use vectors for setting linvel/translation in builders 2021-05-25 11:00:13 +02:00
Crozet Sébastien
1a84bf2af3 Replace Kiss3d by Bevy for the testbed renderer. 2021-05-16 17:49:20 +02:00
Crozet Sébastien
2dfbd9ae92 Add comments. 2021-04-30 11:37:58 +02:00
Crozet Sébastien
3810466326 Fix some warnings 2021-04-29 10:33:07 +02:00
Crozet Sébastien
c32da78f2a Split rigid-bodies and colliders into multiple components 2021-04-26 18:00:50 +02:00
Crozet Sébastien
071a6621a9 Fix warnings 2021-04-13 11:47:42 +02:00
Crozet Sébastien
d70c6f82e3 Fix torque generation for the prismatic joint motor 2021-04-13 11:44:34 +02:00
Crozet Sébastien
da9c3db5e8 Switch to nalgebra 0.26 2021-04-12 17:22:18 +02:00
Crozet Sébastien
3412e9ddbf Fix some warnings. 2021-03-31 12:35:54 +02:00
Crozet Sébastien
e9f6384081 Fix the parallel solver to work properly with CCD. 2021-03-31 10:53:44 +02:00
Crozet Sébastien
97157c9423 First working version of non-linear CCD based on single-substep motion-clamping. 2021-03-26 18:16:27 +01:00
Crozet Sébastien
326469a1df Fix the last few bugs and unbounded memory usage. 2021-03-17 09:34:56 +01:00
Crozet Sébastien
3a1502be74 First complete implementation of the hierarchical SAP. 2021-03-13 18:00:58 +01:00
Crozet Sébastien
7983c25606 Start introducing SAP layers. 2021-03-08 15:32:04 +01:00
Crozet Sébastien
bed47a82e7 Projection friction impulses on an implicit cone instead of a pyramidal approximation. 2021-03-07 11:44:19 +01:00
Crozet Sébastien
5cc16419f3 Release v0.6.0 2021-03-01 16:27:08 +01:00
Crozet Sébastien
a60c6e5fdd Fix the compilation of tests. 2021-02-23 16:26:02 +01:00
Crozet Sébastien
0f0f2c344f Rename modify_contacts -> modify_solver_contacts. 2021-02-23 16:02:19 +01:00
Crozet Sébastien
babcab0bed Update the testbed to use PhysicsHooks. 2021-02-23 15:49:23 +01:00
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