Track the rigid-body graph IDs inside of the JointSet instead of RigidBodyIds
This commit is contained in:
committed by
Sébastien Crozet
parent
57ed0430d1
commit
bccb7d4c66
@@ -156,7 +156,7 @@ impl RigidBodySet {
|
||||
/*
|
||||
* Remove joints attached to this rigid-body.
|
||||
*/
|
||||
joints.remove_rigid_body(rb.rb_ids.joint_graph_index, islands, self);
|
||||
joints.remove_joints_attached_to_rigid_body(handle, islands, self);
|
||||
|
||||
Some(rb)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user