Merge branch 'master' of https://github.com/erwincoumans/bullet3
This commit is contained in:
commit
701b50ec12
10 files changed
+77
-35
No files matched your search
@@ -937,6 +937,12 @@ static PyObject* pybullet_changeDynamicsInfo(PyObject* self, PyObject* args, PyO
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if ((contactStiffness>=0 && contactDamping <0)||(contactStiffness<0 && contactDamping >=0))
|
||||
{
|
||||
PyErr_SetString(SpamError, "Both contactStiffness and contactDamping needs to be set together.");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
{
|
||||
b3SharedMemoryCommandHandle command = b3InitChangeDynamicsInfo(sm);
|
||||
b3SharedMemoryStatusHandle statusHandle;
|
||||
|
||||
Reference in new issue
Block a user