Commit Graph

1135 Commits

Author SHA1 Message Date
rezural
34e79e9afc unify callbacks with & without graphics & window 2021-01-02 16:46:52 +11:00
Crozet Sébastien
a1aa8855f7 Query pipeline: add methods to collect all intersections with a point or a shape. 2020-12-31 18:23:14 +01:00
Crozet Sébastien
7b098606c2 QueryPipeline: add shape casting, point projection, and intersection queries. 2020-12-31 16:30:38 +01:00
Crozet Sébastien
1feac2e02d Restore contact events. 2020-12-31 11:37:42 +01:00
Crozet Sébastien
967145a949 Perform contact sorting in the narrow-phase directly. 2020-12-31 11:16:03 +01:00
Crozet Sébastien
64507a68e1 Refactor the constraints solver code. 2020-12-31 10:32:34 +01:00
Crozet Sébastien
348a339fe3 Remove code related to point-point kinematics. 2020-12-31 10:02:51 +01:00
rezural
ed76291fbf remove some unused imports 2020-12-31 15:39:44 +11:00
rezural
5fb9304f4c remove time from plugin.run_callbacks 2020-12-31 15:33:33 +11:00
rezural
6d5b6d778d remove time field from HarnessPlugin trait 2020-12-31 15:29:09 +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
rezural
1ac2d03fea Revert "leading _ for run_state to squash warning"
This reverts commit aaf2872e5c.
2020-12-31 13:56:37 +11:00
rezural
e11ace3831 cargo fmt 2020-12-31 13:31:30 +11:00
rezural
26af08e03c add harness_mut() to testbed 2020-12-31 13:25:05 +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
rezural
d992ebc488 remove unused use 2020-12-31 13:06:29 +11:00
rezural
aaf2872e5c leading _ for run_state to squash warning 2020-12-31 13:06:13 +11:00
rezural
d51008903d remove plugin callback related code from testbed 2020-12-31 12:14:38 +11:00
rezural
47e0ad4425 Update src_testbed/testbed.rs
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2020-12-31 12:00:33 +11:00
rezural
d75d325b49 remove comment
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2020-12-31 11:52:24 +11:00
rezural
75c80bff5f TODO comment update
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
2020-12-31 11:47:02 +11:00
Crozet Sébastien
eea888af93 Fix broken position constraint. 2020-12-30 18:33:01 +01:00
Crozet Sébastien
5e35250183 Define the MAX_MANIFOLD_POINTS in this crate. 2020-12-30 17:46:22 +01:00
Crozet Sébastien
43628c8846 Try using solver contacts again, but in a more cache-coherent way. 2020-12-30 17:30:07 +01:00
Crozet Sébastien
7545e06cb1 Attempt to combine the position constraints initialization with the velocity constraints initialization. 2020-12-30 12:03:25 +01:00
Crozet Sébastien
5876a262da Remove the useless manifold.data.pair field. 2020-12-30 11:44:08 +01:00
Crozet Sébastien
ed529fb8dd Move the harness example to the examples folder. 2020-12-29 11:42:57 +01:00
Crozet Sébastien
94c67a0c31 Support compound shapes. 2020-12-29 11:36:19 +01:00
Crozet Sébastien
8d925a02ef Add convex polygons support. 2020-12-29 11:31:59 +01:00
Crozet Sébastien
27ebb541f8 Start upgrading to physx 0.10. 2020-12-29 11:31:59 +01:00
Crozet Sébastien
486fbd972f Add example for 3D convex polyhedron. 2020-12-29 11:31:59 +01:00
Crozet Sébastien
0fb4b4faef Use Isometry::inv_mul. 2020-12-29 11:31:59 +01:00
Crozet Sébastien
7488cd02e8 Remove unused constrants. 2020-12-29 11:31:59 +01:00
Crozet Sébastien
0d2eb5f2e0 Remove some commented code. 2020-12-29 11:31:59 +01:00
Crozet Sébastien
a0c2a2c309 Fix compilation when serde is enabled. 2020-12-29 11:31:59 +01:00
Crozet Sébastien
5386f08c9b Fix trimesh benchmark name for backward compatibility of bench results. 2020-12-29 11:31:59 +01:00
Crozet Sébastien
5c38113690 Fix compilation when serde isn't enabled. 2020-12-29 11:31:59 +01:00
Crozet Sébastien
8fe2df126a Remove some irrelevant code. 2020-12-29 11:31:59 +01:00
Crozet Sébastien
29717c2887 Externalize the proximity code (renamed intersection). 2020-12-29 11:31:59 +01:00
Crozet Sébastien
e231bacec6 Move all the contact manifold computations out of Rapier. 2020-12-29 11:31:00 +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
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
31032ab969 remove thread code completely from testbed 2020-12-24 21:28:02 +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
5ffacf0a14 pass run_state instead of time to TestbedPlugin::run_callbacks 2020-12-24 20:56:11 +11:00
rezural
b1d0dc006d cargo fmt 2020-12-24 20:16:11 +11:00