Commit Graph

540 Commits

Author SHA1 Message Date
Sébastien Crozet a1e255dbcd Fix warnings 2022-12-11 17:52:51 +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 cb9350fd80 Fix tests 2022-12-11 15:50:25 +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 7e95cba09d Fix ABA problem in incremental query pipeline update 2022-12-11 15:20:33 +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 6b97626946 Merge pull request #410 from dimforge/parry_up
Update to parry 0.11
2022-10-30 17:23:49 +01:00
Sébastien Crozet 34b7ae32fd Add internal edges debug examples. 2022-10-30 16:44:33 +01:00
Sébastien Crozet b5b3431a63 Switch to the published parry 0.11 2022-10-30 13:43:52 +01:00
schnippl0r 8692af2c61 Fixed typos in character_controller.rs
Fixed typos.
2022-10-29 21:18:14 +02:00
Sébastien Crozet 8fd3e61c92 Implement conversion between u32 and Group 2022-10-25 18:11:26 +02:00
Sébastien Crozet b243e0a758 Update to latest version of parry 2022-10-25 18:10:24 +02:00
Sébastien Crozet 9febe341fc Implement Copy-Clone-Debug for CharacterCollision 2022-10-14 17:33:47 +02:00
Sébastien Crozet f7bec3c49c Update CHANGELOG 2022-10-02 18:30:26 +02:00
Sébastien Crozet a886529669 Fix warnings 2022-10-02 17:55:23 +02:00
Sébastien Crozet 36e85d0708 Add a character controller implementation 2022-10-02 17:36:30 +02: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
Tristan Guichaoua 911493e6d8 remove #[allow(missing_docs)] 2022-08-13 14:35:11 +02:00
Tristan Guichaoua 6c2eca72a5 impl Group 2022-08-13 14:31:27 +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
Timo Kösters f55925685d docs: fix typo 2022-08-04 11:42:02 +02:00
Nash e4a8d2e18c Implement serde traits for CollisionEvents when serde-serialize feature is enabled 2022-07-14 00:14:10 -04: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 e20f4a9952 cargo fmt 2022-07-07 11:06:25 +02:00
Sébastien Crozet 73788a21ab Add ActiveEvents::CONTACT_FORCE_EVENTS for consistency with ActiveEvents::COLLISION_EVENTS 2022-07-07 11:01:39 +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 145ab3013e Fix the max_force_direction magnitude 2022-07-04 16:53:38 +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 06d540a10c Scene query filtering: address corner case 2022-07-04 11:17:53 +02:00
Sébastien Crozet fb7bfaf53d Add more options for filtering colliders in scene queries. 2022-07-04 10:43:30 +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 32e2ff6c96 Name the contact force events ContactForceEvent instead of CollisionForceEvent 2022-07-01 17:45:11 +02:00
Sébastien Crozet b9f76e2fda Warning fixes 2022-07-01 12:00:32 +02:00
Sébastien Crozet c9d8277377 Add contact force events generated above a user-defined threshold 2022-07-01 12:00:32 +02:00
Sébastien Crozet d6b6189861 Properly wake-up rigid-bodies that must be awaken because of joints 2022-07-01 12:00:18 +02:00
Nash 1f7cf1ac71 Update ActiveEvents rustdocs to remove EventHandler::handle_intersection_event() 2022-06-30 10:23:53 -04:00
Sébastien Crozet 77a4bbf14d Merge pull request #350 from dimforge/broad-phase-fix
Fix some corner cases in the broad-phase
2022-06-24 13:18:40 +02:00
Sébastien Crozet 2e19eb2e54 Fix warning 2022-06-24 12:11:14 +02:00
Sébastien Crozet 9edfd52646 Merge pull request #343 from shoebe/master
Fix panic when a collider is both added and removed before a call to …
2022-06-24 12:07:31 +02:00
Sébastien Crozet be5b6813a9 Broad-phase: discard NAN/Inf AABBs. 2022-06-24 11:56:28 +02:00
Sébastien Crozet 9e431fb392 Address rounding errors resulting in AABBProxy being added to a disjoint region. 2022-06-24 11:56:12 +02:00