Rename JointSet::joints_with to attached_joints

This commit is contained in:
Sébastien Crozet
2022-05-30 17:48:31 +02:00
parent 033a26aac4
commit c46f52f451
3 changed files with 29 additions and 12 deletions

View File

@@ -256,7 +256,7 @@ impl IslandManager {
// in contact or joined with this collider.
push_contacting_bodies(&rb.colliders, colliders, narrow_phase, &mut self.stack);
for inter in impulse_joints.joints_with(handle) {
for inter in impulse_joints.attached_joints(handle) {
let other = crate::utils::select_other((inter.0, inter.1), handle);
self.stack.push(other);
}