lemond Posted April 14, 2010 Share Posted April 14, 2010 When trying to connect two objects, can I attach a spring to the Rigid Object's verts, not center of mass ? Can I create a spring without a pivot? Quote Link to comment Share on other sites More sharing options...
johner Posted April 14, 2010 Share Posted April 14, 2010 (edited) When trying to connect two objects, can I attach a spring to the Rigid Object's verts, not center of mass ? Can I create a spring without a pivot? Howdy, You can, although you'll want to use the SBD Spring Constraint rather than the RBD Spring Constraint. The SBD Spring constraint is designed to set up constraints at point locations (a bunch of guide hairs attached to a character, for example). But you can use it for RBD Objects as well, just enter the point numbers in the "Constrained Points" and "Goal Points" parameters. See the attached file, and the examples for the node, as well as for the SBD Pin Constraint node, which has the same workflow but creates a hard constraint rather than spring. It's probably worth looking at how those constraints are set up under the hood by looking inside the various Constraint digital assets - it's a really flexible system. If you don't need point groups for example, there's a node called "Anchor: Object Point Number Position" under the "Constraint Tools" tab that would let you roll your own point id constraint. Good luck spring_at_points.hip Edited April 14, 2010 by johner Quote Link to comment Share on other sites More sharing options...
lemond Posted April 14, 2010 Author Share Posted April 14, 2010 Thanks! Quote Link to comment Share on other sites More sharing options...
johner Posted April 19, 2010 Share Posted April 19, 2010 (edited) Thanks! You might be interested in the examples I put here on the SideFX forum. It creates a large number of spring constraints procedurally. Edited April 19, 2010 by johner 1 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.