Commit Graph

44 Commits

Author SHA1 Message Date
Sébastien Crozet
ef47848fba feat: update to parry 0.21 2025-05-16 19:27:02 +02:00
Thierry Berger
510237cc29 Profiling support (#743) 2024-11-19 16:33:26 +01:00
Sébastien Crozet
b3a00b4123 feat: add the DefaultBroadPhase type alias 2024-03-23 15:17:47 +01:00
Sébastien Crozet
cfb2c2c93e feat!: rename BroadPhase to BroadPhaseMultiSap 2024-03-23 15:17:47 +01:00
Sébastien Crozet
da92e5c283 Fix clippy and enable clippy on CI 2024-01-27 17:13:08 +01:00
Sébastien Crozet
a1e255dbcd Fix warnings 2022-12-11 17:52:51 +01:00
Sébastien Crozet
683baf6bf7 Allow the PhysicsPipeline and CollisionPipeline to update the QueryPipeline incrementally 2022-12-11 15:20:33 +01:00
Sébastien Crozet
c9d8277377 Add contact force events generated above a user-defined threshold 2022-07-01 12:00:32 +02:00
Sébastien Crozet
f108520b5a Finalize refactoring 2022-04-20 19:02:49 +02:00
Sébastien Crozet
063c638ec5 Combine contact events and intersection events into a single event type and flags 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
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
f74b8401ad Implement multibody joints and the new solver 2022-01-02 16:58:36 +01:00
Sébastien Crozet
d858ae4c4e Make the 2D add-remove demo more intereting. 2021-09-12 01:49:09 -07:00
Crozet Sébastien
1a84bf2af3 Replace Kiss3d by Bevy for the testbed renderer. 2021-05-16 17:49:20 +02:00
Crozet Sébastien
5cf805075e Fix compilation of the parallel version 2021-04-29 12:09:35 +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
e9f6384081 Fix the parallel solver to work properly with CCD. 2021-03-31 10:53:44 +02:00
Crozet Sébastien
a733f97028 Implement the ability to run multiple CCD substeps. 2021-03-29 17:21:49 +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
babcab0bed Update the testbed to use PhysicsHooks. 2021-02-23 15:49:23 +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
00caa7ce35 Fix warnings and 2D compilation when parallelism is ON but SIMD is OFF. 2021-01-23 13:02:06 +01:00
Crozet Sébastien
b779eb261e Fix compilation in 2D. 2021-01-22 16:43:16 +01:00
Crozet Sébastien
99c2184e13 Fix regressions introduced by the merge with master. 2021-01-22 16:33:55 +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
Emil Ernerfeldt
315493ebfb IntegrationParameters: deprectate dt() and inv_dt() methods 2021-01-22 13:38:59 +01:00
rezural
34e79e9afc unify callbacks with & without graphics & window 2021-01-02 16:46:52 +11:00
rezural
5fb9304f4c remove time from plugin.run_callbacks 2020-12-31 15:33:33 +11:00
rezural
c300ce760c cargo fmt 2020-12-31 15:26:11 +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
Crozet Sébastien
94c67a0c31 Support compound shapes. 2020-12-29 11:36:19 +01:00
rezural
caf9d71bc7 cargo fmt 2020-12-24 21:45:00 +11:00
rezural
5fce09cb52 rework some threading code with the ui 2020-12-24 21:42:59 +11:00
rezural
975f0d149f add num_threads back in too 2020-12-24 21:25:49 +11:00
rezural
70d05cc63f fix typo with creating threadpool in RunState 2020-12-24 21:24:04 +11:00
rezural
b1d0dc006d cargo fmt 2020-12-24 20:16:11 +11:00
rezural
2de41ee5e3 change HarnessPlugin trait to add run_state to the step trait method 2020-12-24 18:31:59 +11:00
rezural
c56ebcc663 refactor testbed to use harness 2020-12-24 17:58:37 +11:00
rezural
496f4e3258 remove some commented code 2020-12-21 14:56:05 +11:00
rezural
16720918aa cargo fmt 2020-12-21 04:33:25 +11:00
rezural
be07227e94 add HarnessState to callbacks, move HarnessPlugin to src_testbed/harness/plugin 2020-12-21 04:23:11 +11:00
rezural
315b84a85e add plugins
cargo fmt
2020-12-21 04:23:11 +11:00
rezural
88bddce954 harness
make harness a public mod, make harness.state public
2020-12-21 04:23:11 +11:00