Commit Graph

1195 Commits

Author SHA1 Message Date
Bruce Mitchener 850aa31166 clippy: Fix clippy::field_reassign_with_default lints (#690) 2024-07-18 09:45:41 +02:00
Bruce Mitchener 00f59d2877 clippy: Fix clippy::lazy_doc_continuation lints (#689)
These will be enabled in Rust 1.80 by default.
2024-07-18 09:44:48 +02:00
Thierry Berger 6a295d3e8e Fix string serialization for broadphase multisap (#675) 2024-07-15 14:39:56 +02:00
Bruce Mitchener 685dc1729d Remove commented out reference to array-macro (#683) 2024-07-14 14:28:58 +02:00
Bruce Mitchener 678a725c66 Prefer explicit features for optional deps. (#681)
Implicit features are slated to be removed in a future version
of Rust (2024 edition).

Fixing this exposed 2 instances where the wrong feature was being
checked for `serde` vs `serde-serialize`.
2024-07-12 17:05:57 +02:00
Bruce Mitchener 56f0eecd27 deps: Update bit-vec from 0.6 to 0.7 (#678) 2024-07-12 17:03:15 +02:00
Bruce Mitchener 5a45a7f559 Remove check for target_arch = "asmjs" (#679)
This is long obsolete and was removed from Rust itself in
https://github.com/rust-lang/rust/pull/117338
2024-07-12 17:01:08 +02:00
Bruce Mitchener 23c0c05a5b Use bitflags! consistently. (#680)
This removes an `extern crate` and a `use` so that we always
call it via `bitflags::bitflags!` everywhere.
2024-07-12 17:00:24 +02:00
Thierry Berger 01dd200152 ci: cargo doc step (#671) 2024-07-12 16:29:22 +02:00
Thierry Berger 87ada34008 Fix QueryFilterFlags values having a bitshift too much (#673) 2024-07-08 16:53:30 +02:00
Sébastien Crozet 40ee5367d8 chore: add one more test for the multibody insertion out-of-bounds issue 2024-07-07 15:22:55 +02:00
Sébastien Crozet de82bea9c0 chore: update changelog 2024-07-07 15:22:55 +02:00
Sébastien Crozet 9e699e0315 Fix broken multibody joint removal. 2024-07-07 15:22:55 +02:00
Sébastien Crozet f34152e78b Fix out-of-bounds crash when merging two multibodies 2024-07-07 15:22:55 +02:00
Roman 66b6b55ea2 Rotation gizmo for Ball 2d collider (#670) 2024-07-01 10:49:41 +02:00
Sébastien Crozet 0089365e66 Release v0.21.0 (#665) 2024-06-23 23:48:04 +02:00
Di Saber a854de787f Fix attempt to subtract with overflow panic in SAPRegion::update_after_subregion_removal() (#663)
* Swap a regular subtraction for a saturating subtraction

* chore: display a debug message if the SAP reach an unexpected state regarding sub-proper proxies removal.

---------

Co-authored-by: Sébastien Crozet <sebcrozet@dimforge.com>
2024-06-23 23:26:08 +02:00
Thierry Berger 5308a28435 fix: less invasive solve_character_collision_impulses function (#652)
* fix: less invasive `solve_character_collision_impulses` function

Taking ownership of the elements is not necessary.

It also conveys the information that elements are only read.

* Add Changelog
2024-06-23 23:01:55 +02:00
Sébastien Crozet 3004a7d38d chore: update to nalgebra 0.33 and parry 0.16 (#664) 2024-06-23 22:57:51 +02:00
Thierry Berger 3e8650f3a7 Fix delta_time being 0 resulting in incorrect simulation (#660)
* Add failing test

* fix tests

* better fix

* add changelog

* fix propagated to `contact_cfm_factor`

* PR feedback

* more PR feedbacks
2024-06-23 18:18:54 +02:00
Bruce Mitchener 8a592e458e Fix typos. (#658) 2024-06-20 21:03:12 +02:00
Thierry Berger 84b66d63e3 fix: character controller: walls less likely to trigger ground detection (#655) 2024-06-17 16:51:06 +02:00
Miguel Medina Ballesteros 5c6d34aa09 fix: capitalization typo in docs (#654) 2024-06-14 15:39:38 +02:00
Thierry Berger 05c3925884 fix: Fixed typo in castShape functions (#653) 2024-06-13 11:31:49 +02:00
Sébastien Crozet b3dc1c1960 Release Rapier 0.20.0 (#651) 2024-06-09 14:59:27 +02:00
Thierry Berger 9367198282 feat: rework QueryPipeline update API to take less parameters (#647)
* chore: rework QueryPipeline API to take a generic qbvh updater

This allows to pass less parameters depending on the updating mode.

* chore: rework struct and functions names, and docs

---------

Co-authored-by: Sébastien Crozet <sebcrozet@dimforge.com>
2024-06-09 14:16:03 +02:00
Thierry Berger 8160b4ebdb feat: change the character controller’s solve_character_collision_impulses to take multiple CharacterCollision (#646)
* character controller: solve multiple collisions

* add solve multiple collisions to changelog

* chore: apply review comments

---------

Co-authored-by: Sébastien Crozet <sebcrozet@dimforge.com>
2024-06-09 13:20:58 +02:00
Sébastien Crozet a8a0f297f5 feat: add RevoluteJoint::angle to compute the revolute joint’s angle 2024-06-09 13:20:09 +02:00
Sébastien Crozet a5a4152815 fix warning in tests 2024-06-09 12:09:58 +02:00
Sébastien Crozet ad960bf245 chore: clippy fixes 2024-06-09 12:09:58 +02:00
Sébastien Crozet edaa36ac7e chore: add more comments 2024-06-09 12:09:58 +02:00
Sébastien Crozet cfddaa3c46 feat: more urdf loader improvements 2024-06-09 12:09:58 +02:00
Sébastien Crozet 98e32b7f3c fix 2D compilation 2024-06-09 12:09:58 +02:00
Sébastien Crozet 0bdc620207 feat: add suport for kinematic multibody links 2024-06-09 12:09:58 +02:00
Sébastien Crozet d9585de20b feat: add the ability to disable all contacts between two links belonging to the same multibody 2024-06-09 12:09:58 +02:00
Sébastien Crozet 2041c9549d feat: let user specify joints that cannot move for IK 2024-06-09 12:09:58 +02:00
Sébastien Crozet a8739036c0 chore: update changelog 2024-06-09 12:09:58 +02:00
Sébastien Crozet 02cade0440 feat: more urdf parser fixes + stl parser 2024-06-09 12:09:58 +02:00
Sébastien Crozet 9865d5836a feat: add MeshConverter and Colliders::converted_trimesh for building a collider with a shape computed form mesh buffers 2024-06-09 12:09:58 +02:00
Sébastien Crozet d127af7816 feat: make RigidBody::add_collider private
Colliders must only be added through the `ColliderSet`.
2024-06-09 12:09:58 +02:00
Sébastien Crozet 5922612ef3 feat: impl Default for RigidBodyBuilder and ColliderBuilder 2024-06-09 12:09:58 +02:00
Sébastien Crozet c785ea4996 feat: rename JointAxesMask::X/Y/Z by ::LIN_X/LIN_Y/LIN_Z and JointAxis::X/Y/Z by ::LinX/LinY/LinZ 2024-06-09 12:09:58 +02:00
Sébastien Crozet 5c44d936f7 feat: add urdf example 2024-06-09 12:09:58 +02:00
Sébastien Crozet 0446d4457f feat: continue urdf impl 2024-06-09 12:09:58 +02:00
Sébastien Crozet d6a76833d9 feat: start implementation of rapier_urdf 2024-06-09 12:09:58 +02:00
Thierry Berger d687fe97b1 fix: testbed: keyD removes only dynamic bodies as intended (#648) 2024-06-07 15:16:45 +02:00
Thierry Berger 79e9de826b Merge pull request #589 from whatf0xx/collider-builder-debug
Derived Debug for ColliderBuilder
2024-06-03 15:50:42 +02:00
Thierry Berger 1054894480 updated changelog 2024-06-03 15:24:04 +02:00
Thierry Berger e1ed90603e Merge branch 'master' into collider-builder-debug 2024-06-03 15:20:24 +02:00
Thierry Berger 856675032e Merge pull request #636 from waywardmonkeys/fix-spelling-in-variable
Fix typo in internal variable name.
2024-06-03 15:13:36 +02:00