Constraints Getting Stuck

   4847   7   1
User Avatar
Member
665 posts
Joined: July 2005
Offline
Hi Guys,

I am trying out a simple RBD constraint setup in H14, but seem to be at a loss.

In the attached file, I have followed the generic setup for creating a shattered wall, and then using the ‘Glue Adjacent’ tool to constrain them together. When the file is played back, the pieces move a certain distance, then the constraints freeze the pieces in space.

Any tips on how to get a more normal behavior from this?

thanks!
-j

Attachments:
brokenConstraints_v1.hipnc (306.9 KB)

User Avatar
Staff
730 posts
Joined: Oct. 2012
Offline
There was a bug in the default expression for the ‘Overwrite with SOP’ parameter, which caused the constraint network to be re-imported from the SOP path on every frame.

The default expression is fixed in 14.0.216 - I've also pasted the corrected expression below, since I don't think daily builds are being published yet:

if hou.hscriptExpression(“$SF”) == 1:
return 1
else:
node = hou.node(ch(“soppath”))
return node.isTimeDependent() if node else 0
User Avatar
Member
665 posts
Joined: July 2005
Offline
That looks like it was the issue.

I have updated the expression with the one you provided, and all looks good!

thanks!
-j
User Avatar
Member
8 posts
Joined: April 2015
Offline
Hi I have the same proble with the Glue Constraint. Where did you update the expression ?
User Avatar
Staff
730 posts
Joined: Oct. 2012
Offline
The expression is for the ‘Overwrite with SOP’ parameter on the Constraint Network SOP. If you're opening an old file with a more recent build of H14, you can just revert that parameter to its default expression.
User Avatar
Member
2 posts
Joined: April 2015
Offline
Thank you for answering quickly. It works !

Do you know if there were bugs too on Cone twist Constraint with the older version ?
User Avatar
Staff
730 posts
Joined: Oct. 2012
Offline
I don't recall fixing any bugs with cone twist constraints since the H14 release, so please file a bug report (https://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=15603) [sidefx.com] if you think there is an issue.
User Avatar
Member
8 posts
Joined: April 2015
Offline
Sorry for th post I think i'have made a mistake in my network :roll:
I'll post a new topic about that.
Thank you cwhite
  • Quick Links