Ya, I did try that. It's a read-only attribute. The boxes are all greyed out. By the way, I'm using Maya 2.5. Are there any settings I have to do to make it editable?
Another thing is that, I have this expression that rotates a joint about the Z-axis. So, whenever contact occurs ( using the particles for collision detection), the joint will be locked(intended). This is done using the particle collision event procedure, which runs a mel script to lock the joint.
When I run the animation, the joint is locked when the particle detects a collision, but it will still rotate, ie. the locking has no effect. I rotate it manually when it's locked and it won't rotate(which is correct). So, how come?