annieb Posted May 22, 2016 Share Posted May 22, 2016 I'm trying to orient the top of a group of boxes by hinge constraint to a large wheel, but seem to either fall off or copy incorrectly. Any suggestions? S16_V721_P2_BurkeAnnie_CLIFF_v3.hipnc 1 Quote Link to comment Share on other sites More sharing options...
anim Posted May 23, 2016 Share Posted May 23, 2016 here is one way using Constraint Network with Cone Twist constriant type and custom constraint geometry using orient attrib which describes orientation of each constraint I rearranged the setup, now everything is in GLIDER_pts object mostly for simplicity and clarity and all DOP objects are packed RBDs, even though none of that was directly necessary S16_V721_P2_BurkeAnnie_CLIFF_v3_fix.hipnc 2 Quote Link to comment Share on other sites More sharing options...
annieb Posted May 23, 2016 Author Share Posted May 23, 2016 Wow. I just looked and that's exactly what I was trying to do. I'm gonna take a stab at replicating your network tomorrow morning at the lab. Thank you so much! Quote Link to comment Share on other sites More sharing options...
annieb Posted June 2, 2016 Author Share Posted June 2, 2016 Here is a final (for now) still! Quote Link to comment Share on other sites More sharing options...
loudsubs Posted June 8, 2016 Share Posted June 8, 2016 On 5/22/2016 at 7:31 PM, anim said: here is one way using Constraint Network with Cone Twist constriant type and custom constraint geometry using orient attrib which describes orientation of each constraint I rearranged the setup, now everything is in GLIDER_pts object mostly for simplicity and clarity and all DOP objects are packed RBDs, even though none of that was directly necessary S16_V721_P2_BurkeAnnie_CLIFF_v3_fix.hipnc Hey Tomas, thanks for the example hip! I had a question about what you're doing with setting @orient in the wrangle. It seems to effect the range of rotation within the simulation. When I change the radians value in your vex code to 10 for example, the constrained objects no longer rotates as far as with 90 for the radians. I can see that changing that value changes the cone twist guide in DOPs. Skimming through the help card for the cone twist constraint, I don't see where it mentions using @orient anywhere. Can you explain what's happening here and how you knew about this? Thanks! Quote Link to comment Share on other sites More sharing options...
anim Posted June 8, 2016 Share Posted June 8, 2016 @orient is there to define the initial orientation of each constraint, in this case it creates reference frame where x points up, y inwards and z in tangent direction here is where you can read about how orient and other attribs are used by constraint network: http://archive.sidefx.com/docs/houdini15.5/nodes/dop/constraintnetwork#attributes 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.