sync interpolationTransform for multibody in integrateTransform; revert changes to voxel size in sparseSDF

This commit is contained in:
Xuchen Han 2019-08-21 16:03:54 -07:00
parent 076c8b11df
commit f33532273a
2 changed files with 3 additions and 1 deletions

View File

@ -2142,6 +2142,7 @@ void btMultiBody::updateCollisionObjectWorldTransforms(btAlignedObjectArray<btQu
tr.setRotation(btQuaternion(quat[0], quat[1], quat[2], quat[3]));
getBaseCollider()->setWorldTransform(tr);
getBaseCollider()->setInterpolationWorldTransform(tr);
}
for (int k = 0; k < getNumLinks(); k++)
@ -2170,6 +2171,7 @@ void btMultiBody::updateCollisionObjectWorldTransforms(btAlignedObjectArray<btQu
tr.setRotation(btQuaternion(quat[0], quat[1], quat[2], quat[3]));
col->setWorldTransform(tr);
col->setInterpolationWorldTransform(tr);
}
}
}

View File

@ -103,7 +103,7 @@ struct btSparseSdf
pc = pn;
}
}
voxelsz = 0.025;
voxelsz = 0.25;
puid = 0;
ncells = 0;
nprobes = 1;