position RBD Pin Constraint on specific point of geo

   5979   2   1
User Avatar
Member
2 posts
Joined: June 2012
Offline
How do you attach an RBD pin constraint on a specific point of a geometry(sphere)?
Since it gets attached to the centroid by default.

Thanks
User Avatar
Member
512 posts
Joined: July 2009
Offline
if you allow the editing of contents in the RBD pin constraint otl you can dive inside and will find an “Anchor: World space position” node. There you can just add a point expression that points to the geometry position that you want to specify, something like this:

point(“/obj/dopnet1bj0/Geometry”, 0, “P”, 1)
point($DOPNET + “:” + $OBJNAME + “/Geometry”, 0, “P”, 1)

don't have Houdini open right now, but that should get you going.

cheers,

Manu
http://vimeo.com/user2522760 [vimeo.com]
http://stormbornvfx.com/ [stormbornvfx.com]
Manuel Tausch
User Avatar
Member
2 posts
Joined: June 2012
Offline
Thanks for the response, however that didn't seem to do the trick…

So if I try to change the expression that is in the ‘Anchor:World space position node’ it changes the position on the anchor that the object pivots from (ie. the root anchor) not where the other end of the constraint is attached to the object (ie - the pin constraint is always attached to the centre of the object still)?

Attachments:
RBDpinConstraint.hipnc (216.6 KB)

  • Quick Links