public virtual void UpdateSolverActivity()
{
if (isActive)
{
//This is a simulation island connection. We already know that all connected objects share the
//same simulation island (or don't have one, in the case of kinematics). All we have to do is test to see if that island is active!
for (int i = 0; i < simulationIslandConnection.entries.Count; i++)
{
var island = simulationIslandConnection.entries.Elements[i].Member.SimulationIsland;
if (island != null && island.isActive)
{
isActiveInSolver = true;
return;
}
}
}
isActiveInSolver = false;
}