Jump to content

Modify Constraint Attributes with SOP Solver


DeeLan

Recommended Posts

Quick question.

How does one modify Constraint Attributes using a SOP Solver. In my example scene, I'm trying to divide the  'angle' attribute by 2, but it isn't having any effect in the scene. Oddly enough, the geometry spreadsheet recognizes the division when viewed within the SOP solver (named 'DIVIDE ANGLE') itself, but when back in the DOPs context its as if the SOP Solver was never there.

Modify_Constraint_Values_01.hipnc

Link to comment
Share on other sites

Your confusion comes from not understanding the order of execution. What comes inside SOP solver is the values from previous iteration, they are then passed to Bullet solver and modified by it - thats why values inside do not match the values from DOP network - they are just not shown in the same timestep.

Also, keep in mind that "angle" is just a feedback attribute - even if you change it (as far as I know)- it won't affect simulation at all. You need to create vector4 "orient" or vector "r" and set it manually. It is a little tricky but not impossible. Check the docs for more info.

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...