Commit Graph

244 Commits

Author SHA1 Message Date
Crozet Sébastien
1e0f76b02c Add a 2D demo for locking rotation. 2020-11-30 15:41:32 +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
2d4e14b869 Properly track some user-initiatied rigid-body modifications. 2020-11-25 16:28:49 +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
49dfe74a1b Remove traces of the fluids feature. 2020-11-19 15:28: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
502be0245c Add restitution. 2020-11-03 11:22:30 +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
8c872dc0af Replace the Rounded<S> type by a non-generic RoundCylinder type. 2020-10-27 09:20:44 +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
3da333f11c Fix testbed compilation with other backends. 2020-10-26 15:12:10 +01:00
Crozet Sébastien
949e3f5384 Fix many warnings. 2020-10-20 16:22:53 +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
865ce8a8e5 Collider shape: use a trait-object instead of an enum. 2020-10-20 11:56:09 +02:00
Crozet Sébastien
faec3d5d46 Start adding cylinders. 2020-10-12 18:33:58 +02:00
Crozet Sébastien
e87b73a2a2 Fix compilation in 2D. 2020-10-06 15:49:22 +02:00
Crozet Sébastien
682ff61f94 Don't let the PubSub internal offsets overflow + fix some warnings. 2020-10-06 15:23:48 +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
2d0a888484 Make the query pipeline serializable. 2020-10-05 16:52:09 +02:00
Crozet Sébastien
d8dfd864a4 Joint set iteration: also yield the joint handle. 2020-10-05 16:51:16 +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
Crozet Sébastien
a60e1e030d Disable physx query shapes for now. 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
fc0b3bf394 Mass properties: add a max number of iterations for the local-frame rotation computation. 2020-09-01 17:35:32 +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
9622827dc6 Fix constraints resolution with non-identity relative collider position. 2020-09-01 14:02:59 +02:00
Sébastien Crozet
ce26fe1077 Add compound demo. 2020-08-31 19:05:14 +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