Commit Graph

746 Commits

Author SHA1 Message Date
Sébastien Crozet
9964007269 feat: add some additional perf counters 2024-04-30 23:10:46 +02:00
Sébastien Crozet
09af4313fa Fix reported contact impulse in the contact force event
Address https://github.com/dimforge/rapier.js/issues/261
2024-03-23 16:28:48 +01:00
Sébastien Crozet
6f8bd99eab Fix compilation of tests 2024-03-23 15:17:47 +01:00
Sébastien Crozet
b3a00b4123 feat: add the DefaultBroadPhase type alias 2024-03-23 15:17:47 +01:00
Sébastien Crozet
3d112287b9 feat: add a BroadPhaseTrait for allowing custom broad-phases 2024-03-23 15:17:47 +01:00
Sébastien Crozet
cfb2c2c93e feat!: rename BroadPhase to BroadPhaseMultiSap 2024-03-23 15:17:47 +01:00
Sébastien Crozet
cd9fb8342d feat: add RigidBody::copy_from and Collider::copy_from
Closes #595
2024-03-23 14:19:52 +01:00
Sébastien Crozet
6886f8f207 feat: add RigidBody::predict_position_using_velocity
Fix #601
2024-03-23 11:10:57 +01:00
Sébastien Crozet
3020d442ea chore: minor comment fix 2024-03-23 10:50:02 +01:00
Max Whitehead
3fd18f4da8 fix(user_changes): Fix RigidBodyType changed to Dynamic not updating
active dynamic set.
2024-03-23 10:50:02 +01:00
Sébastien Crozet
b00113ed2f fix: implement linear-coupled-motor constraint between two dynamic bodies
Fix #602
2024-03-23 10:34:01 +01:00
whatf0xx
fe336b9b98 derived Debug for ColliderBuilder 2024-02-11 16:28:58 +01:00
Sébastien Crozet
da92e5c283 Fix clippy and enable clippy on CI 2024-01-27 17:13:08 +01:00
Sébastien Crozet
6cee6b01f2 Merge pull request #571 from AnonymousAcid7787/fix-Setting-the-motor-position-of-a-Spherical-multibody-joint-is-broken
Fix #416 Update spherical joint motor position
2024-01-24 23:26:42 +01:00
Sébastien Crozet
7ba53df734 Merge pull request #582 from dimforge/misc
Narrow-phase methods renames + some re-exports
2024-01-24 23:26:35 +01:00
Sébastien Crozet
1837d8f2b7 chore: fix tests 2024-01-24 23:11:42 +01:00
AnonymousAcid
2ed34bacf4 Fix dimforge#416 - update ball joint motor pos 2024-01-24 22:59:14 +01:00
Sébastien Crozet
d84aa82cf6 Merge pull request #527 from Aceeri/debug-render-com
Calculate world center of mass from local com in debug renderer
2024-01-24 22:54:41 +01:00
Sébastien Crozet
46b244167c feat!: rename narrow-phase methods for more clarity.
Renames `contacts_with` to`contact_pairs_with`; and `intersections_with` to `intersection_pairs_with`.
2024-01-24 22:51:30 +01:00
Sébastien Crozet
5bf3983894 feat: re-export BoundingVolume, RayCast, PointQuery, PointQueryWithlocation from parry. 2024-01-24 22:50:07 +01:00
Sébastien Crozet
d1fc90c150 feat: rework solver parameters to make it easy to recover the old behaviors 2024-01-24 21:57:54 +01:00
Sébastien Crozet
6cb727390a chore: more CI fixes 2024-01-22 21:29:51 +01:00
Sébastien Crozet
bef72df32c chore: CI fixes 2024-01-22 21:06:33 +01:00
Sébastien Crozet
9b87f06a85 feat: implement new "small-steps" solver + joint improvements 2024-01-21 21:02:27 +01:00
Sébastien Crozet
76557448d7 fix: also apply joint limits in case of equality 2023-12-10 21:51:57 +01:00
Sébastien Crozet
fef7f0f92a fix more 2D angular motor/limits jacobians 2023-12-10 21:39:11 +01:00
Sébastien Crozet
a05622cfe9 fix: avoid perpetual movement when the target ang motor position is overshot 2023-12-10 12:43:13 +01:00
pellico
9f3b5c8642 Fixed formatting of modified files. 2023-12-10 12:43:13 +01:00
pellico
6432909110 Fix #378 Added one example join_motor_position 2023-12-10 12:43:13 +01:00
Sébastien Crozet
8c969d4002 Merge pull request #560 from kvark/wheel-joint
Fix check for motor constraints on angular DoF
2023-12-10 12:26:09 +01:00
Sébastien Crozet
39f4520b91 feat: actually apply the disabled_color_multiplier in the debug-renderer 2023-12-09 21:46:41 +01:00
Soham
4015cefebf feat/Color of disabled object will change 2023-12-09 21:25:43 +01:00
Dzmitry Malyshau
e4bf6914c7 Fix check for motor constraints on angular DoF 2023-12-01 23:35:17 -08:00
Sébastien Crozet
bc287a9895 cargo fmt 2023-10-29 18:00:52 +01:00
Rafal Harabien
94829fd852 Fix enabling disabled collider
If collider was enabled and no other attributes were changed its collisions
were not detected. This was the result of `needs_broad_phase_update` function
not handling case of changed enabled status.
Fixes dimforge/bevy_rapier#435
2023-10-18 15:08:41 +02:00
Linentio
6c901d5774 Use the absolute value of the up attribute when calculating side_extent 2023-09-30 13:27:50 +02:00
Linentio
fa2be3fc9c Use the absolute value of the up attribute when calculating up_extent 2023-09-30 12:37:45 +02:00
Aceeri
2ac1898f82 Calculate world center of mass from local com in debug renderer 2023-09-26 17:45:37 -07:00
Sébastien Crozet
dfb4f2a1aa Merge pull request #505 from mrDIMAS/master
`user_data` for joints
2023-09-09 12:59:50 +02:00
Sébastien Crozet
39a839560e Merge pull request #508 from PaulL48/master
Add serde derives to structures in the control module
2023-09-09 12:59:16 +02:00
Sébastien Crozet
7d2111d0b9 Merge pull request #511 from Triuman/master
fix lock_translations & lock_rotations doesn't work both ways
2023-09-09 12:58:38 +02:00
Sébastien Crozet
50b838381b Merge pull request #520 from waywardmonkeys/doc-fixes
docs: Minor fixes.
2023-09-09 12:56:46 +02:00
Sébastien Crozet
32ffb3e1aa Merge pull request #521 from waywardmonkeys/expand-wrt
docs: Expand "wrt" to "with respect to".
2023-09-09 12:56:35 +02:00
Bruce Mitchener
727610cdc2 docs: exclude kinematic/dynamic reversed in description.
Fixes #496.
2023-08-28 11:18:27 +07:00
Bruce Mitchener
b9b5b58f61 docs: Expand "wrt" to "with respect to".
This makes things more clear as this abbreviation isn't known
to everyone.

While the trailing period is common in French, it isn't in English
(one might use "w.r.t.").

Fixes #498.
2023-08-28 11:13:27 +07:00
Bruce Mitchener
4c2d18a0cd docs: Minor fixes. 2023-08-28 11:05:45 +07:00
Triuman
fd0c8d3dc7 fix lock_rotations doesn't work both ways 2023-08-10 09:29:11 +02:00
Triuman
f7b02f2a1d fix lock_translations doesn't work both ways 2023-08-10 09:26:27 +02:00
Paul Lane
be9968628f Add serde derives to structures in the control module 2023-08-01 21:44:48 -04:00
Dmitry
64b0d08c14 user_data for joints 2023-07-15 23:14:44 +03:00