Commit Graph

289 Commits

Author SHA1 Message Date
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
Sébastien Crozet
6f866329a6 Fix wasm build 2022-12-11 15:38:18 +01:00
Sébastien Crozet
849f398031 Add a dynamic ray-cast vehicle controller 2022-12-11 15:22:36 +01:00
Sébastien Crozet
683baf6bf7 Allow the PhysicsPipeline and CollisionPipeline to update the QueryPipeline incrementally 2022-12-11 15:20:33 +01:00
Sébastien Crozet
46d976d97b Allow disabling colliders, rigid-bodies and impulse joints 2022-12-11 15:20:33 +01:00
Wolftousen
c713f45ca0 adding 3d rope joint 2022-11-05 22:42:50 -04:00
Wolftousen
150b113a18 Adding a Rope Joint 2022-11-04 23:47:54 -04:00
Sébastien Crozet
d73508602e Auto-update a rigid-body’s world mass-properties when the user sets their position 2022-08-25 10:21:17 +02:00
Sébastien Crozet
68d250f0ad Merge pull request #380 from dimforge/set-rotation
Make Collider::set_rotation and RigidBody::set_rotation take a rotation instead of an axis-angle.
2022-08-09 10:06:20 +02:00
Sébastien Crozet
a19c6131ff Make Collider::set_rotation and RigidBody::set_rotation take a rotation instead of an axis-angle. 2022-08-09 09:26:12 +02:00
Sébastien Crozet
4025f62314 Rename allowed_translation/rotation to enabled_translation/rotation 2022-07-08 17:16:44 +02:00
Sébastien Crozet
72c2da5554 Fix 2D build 2022-07-08 12:01:04 +02:00
Sébastien Crozet
8c707ef02d cargo fmt 2022-07-08 11:55:44 +02:00
Sébastien Crozet
efaf16aaea Rename restrict_translation/rotation to set_allowed_translation/rotation 2022-07-08 11:48:31 +02:00
Sébastien Crozet
7831ebfc31 Add methods to read the mass or volume of a collider. 2022-07-05 15:15:17 +02:00
Sébastien Crozet
ba081fb6f5 Improve the API for initializing/setting mass-properties 2022-07-05 14:59:14 +02:00
Sébastien Crozet
158308ad71 Add hepler function for building a contact force event from a contact pair 2022-07-04 15:04:06 +02:00
Sébastien Crozet
5063f3bb4f Add the ability to disable contacts between two rigid-bodies attached by joints 2022-07-03 13:55:41 +02:00
Sébastien Crozet
0640f5e660 Fix parallel build 2022-05-30 19:36:29 +02:00
Sébastien Crozet
31cfce4db3 Fix wasm build 2022-05-30 19:21:52 +02:00
Sébastien Crozet
fef8416983 Move the cfm factor to the velocity constraints instead of the elements. 2022-05-30 19:14:05 +02:00
Sébastien Crozet
ab8833f275 Add the option to automatically wake-up rigid-bodies a new joint is attached to 2022-05-30 18:29:18 +02:00
Sébastien Crozet
6ce26f3818 CCD improvements
- Fix bug where the CCD thickness wasn’t initialized properly.
- Fix bug where the contact compliance would result in unwanted tunelling, despite CCD being enabled.
2022-05-30 18:29:18 +02:00
Sébastien Crozet
c46f52f451 Rename JointSet::joints_with to attached_joints 2022-05-30 17:48:31 +02:00
Sébastien Crozet
8ffb0d1658 Take round shapes into account in 2D debug render 2022-04-28 13:05:00 +02:00
Sébastien Crozet
fd12d76102 Fix panic when the world is stepped with dt = 0 2022-04-28 13:04:14 +02:00
Sébastien Crozet
95418c218b Rename RigidBody::set_mass_properties -> set_additional_mass_properties 2022-04-28 13:03:55 +02:00
Sébastien Crozet
ae40f4cd7e Add collision event flags 2022-04-28 13:03:14 +02:00
Sébastien Crozet
21a31bc102 Warning fix. 2022-04-20 19:02:49 +02:00
Sébastien Crozet
9237bfd530 Remove the default-sets feature 2022-04-20 19:02:49 +02:00
Sébastien Crozet
f108520b5a Finalize refactoring 2022-04-20 19:02:49 +02:00
Sébastien Crozet
2b1374c596 First round deleting the component sets. 2022-04-20 19:02:49 +02:00
Sébastien Crozet
ee679427cd Fix mass-properties update after collider change 2022-04-20 17:11:06 +02:00
Sébastien Crozet
c26c8e4932 Type fix 2022-03-20 21:49:16 +01:00
Sébastien Crozet
d22d3fcc9f Cargo fmt 2022-03-20 21:49:16 +01:00
Sébastien Crozet
d38740369c Emit collision stopped events after a collider is removed. 2022-03-20 21:49:16 +01:00
Sébastien Crozet
063c638ec5 Combine contact events and intersection events into a single event type and flags 2022-03-20 21:49:16 +01:00
Sébastien Crozet
a9e3441ecd Rename rigid-body static to fixed 2022-03-20 21:49:16 +01:00
Sébastien Crozet
db6a8c526d Fix warnings and add comments. 2022-03-20 21:49:16 +01:00