On Sun, Mar 15, 2009 at 11:33, bendingiscool
<[email protected]> wrote:
>
> cube = mc.polyCube()
> rigidBody = mc.rigidBody(mass=1, bounciness=0, damping=20, impulse=
> [0,0,0])
> mc.setAttr(rigidBody + '.allowDisconnection', 1)
>
> #### problem here:
> mc.disconnectAttr('%s.sz' % cube,'%s.impulseZ' % rb)
> ####

When I do those first 3 commands there is nothing connected to either
the cube's 'sz' attr nor the rigid body's 'impulseZ' attr.

-- 
-deane

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to