When user changes a collider (such as setting voxels), the modification may not be added to ModifiedColliders, because the collider is already marked as Modified. This is fine when the collider is already added to ModifiedColliders, but during the last sub step of the engine update, ModifiedColliders is cleared, which causes user changes not being captured by the engine, causing strange behaviors such as inaccurate center of mass.
When user changes a collider (such as setting voxels), the modification may not be added to
ModifiedColliders, because the collider is already marked asModified. This is fine when the collider is already added toModifiedColliders, but during the last sub step of the engine update,ModifiedCollidersis cleared, which causes user changes not being captured by the engine, causing strange behaviors such as inaccurate center of mass.