isLonely method
Get whether the rigid body has not any connection with others.
Implementation
bool isLonely() {
return numJoints==0 && numContacts==0;
}
Get whether the rigid body has not any connection with others.
bool isLonely() {
return numJoints==0 && numContacts==0;
}