Commit Graph

671 Commits

Author SHA1 Message Date
Sébastien Crozet
0d76a55d80 chore: don’t return &mut Self with GenericJoint::flip 2024-05-05 16:34:55 +02:00
Fun Maker
4332818e02 Fix joint limits not being flipped in one body constrains. (#549) 2024-05-05 16:34:55 +02:00
Fun Maker
a2fdeab7e1 Removed leftovers from block breaks stabilization. 2024-05-05 16:34:55 +02:00
Sébastien Crozet
e4d6755c15 chore: clippy fixes 2024-05-05 16:17:39 +02:00
Sébastien Crozet
425b2fc83d chore: misc typo fixes 2024-05-05 16:17:39 +02:00
Sébastien Crozet
d0866d4232 feat: rename CharacterCollision::toi to hit 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
Sébastien Crozet
dbefeb0418 feat: don’t enable character controller autostepping by default 2024-05-05 16:17:39 +02:00
Sébastien Crozet
3222d67871 Fix character controller getting stuck against vertical walls 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
a36f161ce6 fix compilation of tests 2024-04-30 23:10:46 +02:00
Sébastien Crozet
0a9153e273 chore: clippy fixes 2024-04-30 23:10:46 +02:00
Sébastien Crozet
929aa6b925 feat: rename collision_skin to contact_skin 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
664645159d feat: implement collision skin 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
33dd38016c feat: add a capsule collider constructor from endpoints. 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
15c07cfeb3 feat: make narrow-phase filter-out predictive solver contact based on contact velocity 2024-04-30 23:10:46 +02:00
Sébastien Crozet
a44f39a7b6 fix contact debug-rendering for compound shapes 2024-04-30 23:10:46 +02:00
Sébastien Crozet
7cbbb8e87b feat: add Collider::heightfield_with_flags 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
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
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