Crozet Sébastien
e1f50eb6e8
Fix compilation with f64.
2021-01-25 17:33:28 +01:00
Crozet Sébastien
4799a81214
Add missing constructor for a round-triangle collider.
2021-01-25 17:22:57 +01:00
Crozet Sébastien
8f7220f03d
Rename cdl to parry.
2021-01-24 11:13:44 +01:00
Crozet Sébastien
57072f3ba7
Move ColliderShape out of Rapier.
2021-01-22 18:10:54 +01:00
Crozet Sébastien
b779eb261e
Fix compilation in 2D.
2021-01-22 16:43:16 +01:00
Crozet Sébastien
800b35b103
Add collider constructors for shapes obtained from convex decomposition.
2021-01-21 16:29:05 +01:00
Crozet Sébastien
98d3980db7
Allow several rules for combining friction/restitution coefficients.
2021-01-21 16:03:27 +01:00
Crozet Sébastien
0ade350b5f
Use newtypes for collider, rigid-body and joint handles.
2021-01-20 16:33:42 +01:00
Crozet Sébastien
28b7866aee
Switch to [u32; DIM] instead of Point<u32> for element indices.
2021-01-20 15:40:00 +01:00
Crozet Sébastien
e2006599a8
Add 3D convex decomposition example.
2021-01-20 15:15:33 +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
486fbd972f
Add example for 3D convex polyhedron.
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
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
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
71611d3e30
Reset the rigid-bodies internal links properly.
2020-11-03 15:08:06 +01:00
Crozet Sébastien
c6af248e66
Rename reset_internal_links -> reset_internal_references.
2020-11-03 14:45:50 +01:00
Crozet Sébastien
036a246141
Make cloning rigid-bodies and colliders more idiomatic.
...
Fix #53
2020-11-03 14:29:47 +01:00
Crozet Sébastien
cb6a7ff946
Add solver flags for controlling whether or not some contacts should be taken into account by the constraints solver.
2020-10-27 14:35:01 +01:00
Crozet Sébastien
3def91d62e
Add collision groups to filter collision pairs.
2020-10-27 14:35:01 +01:00
Crozet Sébastien
49779e6c75
Add missing comment.
2020-10-27 10:54:07 +01:00
Crozet Sébastien
b5a1aaa4e5
Add a 128-bits user-data attached to colliders and rigid-bodies.
2020-10-27 10:48:31 +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
b9156302d3
Replace rounding -> round.
2020-10-20 18:57:53 +02:00
Crozet Sébastien
f7a6f433d6
Rename rounded -> round.
2020-10-20 18:14:20 +02: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
7c92848383
Implement RayCast for the Trimesh.
2020-10-06 14:17:18 +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
ff2da7fb27
Move benchmark demos into their own directory.
2020-09-06 12:16:22 +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
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