PyBullet: handle the switch from fixed base to floating base when changing mass from zero to non-zero

This commit is contained in:
Erwin Coumans
2019-01-03 17:35:12 -08:00
parent bf9efffa4b
commit 19aafd5221
4 changed files with 54 additions and 1 deletions

View File

@@ -469,6 +469,11 @@ public:
return m_fixedBase;
}
void setFixedBase(bool fixedBase)
{
m_fixedBase = fixedBase;
}
int getCompanionId() const
{
return m_companionId;