Commit Graph

377 Commits

Author SHA1 Message Date
Fun Maker
4332818e02 Fix joint limits not being flipped in one body constrains. (#549) 2024-05-05 16:34:55 +02:00
Sébastien Crozet
425b2fc83d chore: misc typo fixes 2024-05-05 16:17:39 +02:00
Sébastien Crozet
7565e5e4ef chore: update to the latest parry api 2024-05-05 16:17:39 +02:00
Bruce Mitchener
7375a691e2 Fix some typos. (#620) 2024-05-05 12:11:38 +02:00
Sébastien Crozet
0a9153e273 chore: clippy fixes 2024-04-30 23:10:46 +02:00
Sébastien Crozet
5867d2e78d fix: include the 0.5 factor in pseudo (mass-normalized) kinetic energy calculation 2024-04-30 23:10:46 +02:00
Sébastien Crozet
c079452a47 feat: add IntegrationParameters::length_unit to adjust internal threshold based on user-defined length units 2024-04-30 23:10:46 +02:00
Sébastien Crozet
6635d49c8b feat: add configurable distance cap to soft-ccd 2024-04-30 23:10:46 +02:00
Sébastien Crozet
f58b4f7c19 feat: add warmstarting to contact constraints resolution 2024-04-30 23:10:46 +02:00
Sébastien Crozet
de5e871cd1 chore: rework vertical stacks demo 2024-04-30 23:10:46 +02:00
Sébastien Crozet
9c5c14070d feat: add variable constraints stabilization iteration number 2024-04-30 23:10:46 +02:00
Sébastien Crozet
404e032433 feat: add soft (solver-based) ccd implementation 2024-04-30 23:10:46 +02:00
Sébastien Crozet
3ddf2441ea feat: add exact mlcp solver for pais of 2 constraints 2024-04-30 23:10:46 +02:00
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
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
b00113ed2f fix: implement linear-coupled-motor constraint between two dynamic bodies
Fix #602
2024-03-23 10:34:01 +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
AnonymousAcid
2ed34bacf4 Fix dimforge#416 - update ball joint motor pos 2024-01-24 22:59:14 +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
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
Dzmitry Malyshau
e4bf6914c7 Fix check for motor constraints on angular DoF 2023-12-01 23:35:17 -08: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
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
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
Dmitry
64b0d08c14 user_data for joints 2023-07-15 23:14:44 +03:00
MrGunflame
6d72192955 Fix doc-links for ColliderBuilder and RigidBodyBuilder 2023-03-30 17:15:43 +02:00
Sébastien Crozet
b6fdfd11ad Add missing import 2023-03-26 15:57:31 +02:00
Sébastien Crozet
7cca677523 Add methods to customize a SphericalJoint’s local reference frames. 2023-03-26 15:44:59 +02:00
Sébastien Crozet
789555e9e3 Fix docs for method setting kinematic translation/rotation 2023-03-26 15:18:39 +02:00
fabriceci
4ff84319a0 Allow customising the time until sleep for a rigid body 2023-01-23 22:18:35 +01:00
Sébastien Crozet
89fc31f996 Give access to the world-space mass properties of rigid-bodies 2023-01-15 12:24:14 +01:00
Sébastien Crozet
d2ebb25c22 Add accessor to get the locked axes of a rigid-body 2023-01-15 12:24:07 +01:00
Sébastien Crozet
9b5ccb95e7 Update dependencies 2023-01-15 12:17:10 +01:00
Sébastien Crozet
c77ed7c9bf Small coding style fix 2023-01-01 16:51:40 +01:00
fabriceci
95cd7d5c9c Adds methods to retrieve forces added by the user. 2023-01-01 16:49:52 +01:00
Sébastien Crozet
cc0c982a5b Merge pull request #415 from Wolftousen/master
Add Rope Joints
2022-12-18 15:12:19 +01:00
Sébastien Crozet
0207f8cf96 Properly take initial sleeping state set by the user when creating a rigid-body 2022-12-11 17:47:42 +01:00