+ bugfix in btAlignedObjectArray, not calling destructors on resize to smaller array.
Thanks Benoit for pointing this out, and bugfix: http://code.google.com/p/bullet/issues/detail?id=218 + Added point to point, hinge, slider and generic 6dof constraints to Maya Dynamica plugin Thanks to Herbert Law for the constribution: http://code.google.com/p/bullet/issues/detail?id=221
This commit is contained in:
@@ -470,6 +470,13 @@ void rigidBodyNode::computeWorldMatrix(const MPlug& plug, MDataBlock& data)
|
||||
m_rigid_body->set_transform(vec3f(mtranslation.x, mtranslation.y, mtranslation.z),
|
||||
quatf(mrotation.w, mrotation.x, mrotation.y, mrotation.z));
|
||||
|
||||
if(pos[0] != float(mtranslation.x) ||
|
||||
pos[1] != float(mtranslation.y) ||
|
||||
pos[2] != float(mtranslation.z))
|
||||
{
|
||||
m_rigid_body->update_constraint();
|
||||
}
|
||||
|
||||
data.setClean(plug);
|
||||
|
||||
//set the scale to the collision shape
|
||||
|
||||
Reference in New Issue
Block a user