Commit Graph

100 Commits

Author SHA1 Message Date
Crozet Sébastien
967145a949 Perform contact sorting in the narrow-phase directly. 2020-12-31 11:16:03 +01:00
rezural
ed76291fbf remove some unused imports 2020-12-31 15:39:44 +11:00
rezural
26af08e03c add harness_mut() to testbed 2020-12-31 13:25:05 +11:00
rezural
d992ebc488 remove unused use 2020-12-31 13:06:29 +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
5876a262da Remove the useless manifold.data.pair field. 2020-12-30 11:44:08 +01:00
Crozet Sébastien
0fb4b4faef Use Isometry::inv_mul. 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
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
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
rezural
baccfff4cd reenable self.highlight_hovered_body 2020-12-24 19:17:06 +11:00
rezural
cbe6baced5 remove fixme comments 2020-12-24 19:15:34 +11:00
rezural
bd6e46cdd9 remove event code 2020-12-24 18:32:07 +11:00
rezural
0a0c79a36b remove time & timestep_id from testbed side of things
remove events code
2020-12-24 18:27:17 +11:00
rezural
fbde6847df remove unused physics var 2020-12-24 18:02:19 +11:00
rezural
c56ebcc663 refactor testbed to use harness 2020-12-24 17:58:37 +11:00
rezural
b2db9e0a06 cargo fmt 2020-12-20 14:57:33 +11:00
rezural
bcaa1d13e8 extract PhysicsState, PhysicsSnapshot & PhysicsEvents
cargo fmt

changes to make rapier compile
2020-12-20 14:45:59 +11:00
rezural
ff28b90833 make new public on PhysicsState 2020-12-20 14:43:42 +11:00
Crozet Sébastien
1e0f76b02c Add a 2D demo for locking rotation. 2020-11-30 15:41:32 +01:00
Crozet Sébastien
fcafcac66f Fix the testbed. 2020-11-24 16:42:17 +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
0d49a80974 Add a parameter to indicate if collider removal should wake-up its parent. 2020-11-19 18:00:43 +01:00
Crozet Sébastien
dea97fbab0 Fix compilation of the testbed when the parallel feature is enabled. 2020-11-19 15:54:45 +01:00
Crozet Sébastien
eef2b591a0 Fix rebase breakage. 2020-11-19 14:56:29 +01:00
Crozet Sébastien
154bc70037 Remove the Salva integration code from rapier + add a plugin system to the testbed. 2020-11-19 13:55:19 +01:00
Crozet Sébastien
db337c5df6 Add damping support + demos. 2020-11-03 15:34:01 +01:00
Crozet Sébastien
a4a4ddb5b4 Implement joint removal. 2020-11-02 18:47:27 +01:00
Crozet Sébastien
cc44b65094 Added user-implementable traits for collision/proximity pair filtering. 2020-10-27 16:12:40 +01:00
Crozet Sébastien
b4d322a6ca Take collision groups into account for ray-casting. 2020-10-27 14:35:01 +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
e87b73a2a2 Fix compilation in 2D. 2020-10-06 15:49:22 +02:00
Crozet Sébastien
5d95368bce Testbed: fix snapshot restoration. 2020-10-05 19:13:09 +02:00
Crozet Sébastien
93aa7b6e1e Use the publish-subscribe mechanism to handle collider removals across pipelines. 2020-10-05 19:04:18 +02:00
Crozet Sébastien
a7d77a0144 Add non-topological WQuadtree update. 2020-09-28 15:27:25 +02:00
Crozet Sébastien
7b8e322446 Make kinematic bodies properly wake up dynamic bodies. 2020-09-28 15:27:25 +02:00
Sébastien Crozet
3c85a6ac41 Start implementing ray-casting.
This adds a QueryPipeline structure responsible for scene queries.
Currently this structure is able to perform a brute-force ray-cast.
This commit also includes the beginning of implementation of a SIMD-based acceleration structure which will be used for these scene queries in the future.
2020-09-28 15:27:25 +02:00
Sébastien Crozet
0829ed10ac Testbed: don't open a window in benchmark mode. 2020-09-13 09:43:51 +02:00
Sébastien Crozet
38c1b7b457 Use camel-case for csv file name for benchmark output. 2020-09-06 12:34:24 +02:00
Sébastien Crozet
2f2a073ce4 Fix mass property update when adding a collider. 2020-09-01 17:05:24 +02:00
Sébastien Crozet
3b000f90bf Fix BroadPhase proxy handle recycling causing a crash. 2020-08-27 09:08:17 +02:00
Sébastien Crozet
754a48b7ff First public release of Rapier. 2020-08-25 22:10:25 +02:00