mBakr wrote:
at the moment, it's possible to break constraints via a frame trigger, using an expression. given a rigid body shape named "dRigidBodyShape1" connected to inRigidBodyB of a constraint named "dSixdofConstraint1", and a desired break frame of 50; the following expression will work:
if (frame == 1)
{
connectAttr ("dRigidBodyShape1" + ".message") ("dSixdofConstraint1" + ".inRigidBodyB");
}
if (frame == 50)
{
disconnectAttr ("dRigidBodyShape6" + ".message") ("dSixdofConstraint1" + ".inRigidBodyB");
}
it ensures the constraint is reset on frame 1, and broken on frame 50.
to apply this to multiple rigid bodies, you could add to this manually or generate it using a script.
Yes, but this solution is only
Active/Passive frame, like in classic Maya rigidbodies dynamics.
Thx for reply