Open AnthonyTornetta opened 1 year ago
The error message is that an index out of bounds error is happening here in interaction_groups.rs line 440:
interaction_groups.rs
let mask1 = if !is_fixed1 { self.body_masks[i1] } else { 0 }; let mask2 = if !is_fixed2 { self.body_masks[i2] } else { 0 };
A simple fix could be verifying i1 and i2 are within self.body_masks.len() - I'll test that to see.
Do you have a minimal reproducer for this? This looks like a bug with the enabling/disabling system not assigning a correct active_set_offset to bodies that were modified.
active_set_offset
The error message is that an index out of bounds error is happening here in
interaction_groups.rs
line 440:A simple fix could be verifying i1 and i2 are within self.body_masks.len() - I'll test that to see.