Emil Ernerfeldt
d999e0e8c6
Apply accelerations during velocity solver
...
Closes https://github.com/dimforge/rapier/issues/97
Instead of applying accelerations from gravity and external forces
as a separate step, this PR switches to applying them in the velocity solver.
2021-02-08 17:15:28 +01:00
Emil Ernerfeldt
85bc81d4fc
Make clippy a bit happier
2021-02-04 13:11:04 +01:00
Crozet Sébastien
8ff2bcc3ec
Add all the missing docs.
2021-01-27 14:20:14 +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
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
Sébastien Crozet
e6fc8f67fa
Merge pull request #88 from EmbarkStudios/refactor-params
...
Small refactor of IntegrationParameters
2021-01-22 15:53:08 +01:00
Emil Ernerfeldt
315493ebfb
IntegrationParameters: deprectate dt() and inv_dt() methods
2021-01-22 13:38:59 +01:00
Emil Ernerfeldt
f9fe6f2e8d
fix cargo test -p rapier3d
2021-01-21 21:31:09 +01:00
Crozet Sébastien
261ed1ebed
Fix 2D compilation.
2021-01-06 12:53:26 +01:00
Crozet Sébastien
aa61fe65e3
Add support of 64-bits reals.
2021-01-04 15:14:25 +01: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
967145a949
Perform contact sorting in the narrow-phase directly.
2020-12-31 11:16:03 +01:00
Crozet Sébastien
94c67a0c31
Support compound shapes.
2020-12-29 11:36:19 +01:00
Crozet Sébastien
29717c2887
Externalize the proximity code (renamed intersection).
2020-12-29 11:31:59 +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
Crozet Sébastien
2d4e14b869
Properly track some user-initiatied rigid-body modifications.
2020-11-25 16:28:49 +01:00
Crozet Sébastien
af39ec54d3
Remove the narrow-phase graph indices from the collider.
...
They are on the narrow-phase now.
2020-11-23 15:56:53 +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
0cf59d78bd
Implement Clone for everything that can be cloned.
2020-11-03 14:43:21 +01:00
Crozet Sébastien
3bfa407999
ContactPairFilter: don't overwrite the effect of the solver groups.
...
This is more consistent with the fact that the effect of collision groups is not overwritten either.
2020-10-27 16:49:24 +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
865ce8a8e5
Collider shape: use a trait-object instead of an enum.
2020-10-20 11:56:09 +02:00
Crozet Sébastien
fc72aa6845
Fix examples.
2020-10-06 16:38:34 +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
17c31bcc57
WQuadtree query: reduce the amount of allocations.
2020-10-06 11:22:51 +02:00
Crozet Sébastien
8e432b298b
Make the WQuadTree more generic and use it as the trimesh acceleration structure.
2020-10-06 10:46:59 +02:00
Crozet Sébastien
721db2d49e
Fix crash when deleting a collider.
2020-10-06 10:02:21 +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
c031f96ac5
Fix compilation when parallelism is not enabled.
2020-09-28 15:27:25 +02:00
Crozet Sébastien
52bbcc79fe
Query pipeline: aggressive workaround until we properly support collider addition/removal.
2020-09-28 15:27:25 +02:00
Crozet Sébastien
a7d77a0144
Add non-topological WQuadtree update.
2020-09-28 15:27:25 +02:00
Crozet Sébastien
2dda0e5ce4
Complete the WQuadtree construction and ray-cast.
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
e16b7722be
Fix crash caused by the removal of a kinematic body.
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
df2156ffd0
Allow the removal of a collider.
2020-08-31 19:05:14 +02:00
Sébastien Crozet
754a48b7ff
First public release of Rapier.
2020-08-25 22:10:25 +02:00