How RBD constraints from Rule (hinges) work?

   286   4   2
User Avatar
Member
79 posts
Joined: Feb. 2016
Offline
Hi, I looked up the example, it does create the hinge constraints when connection type set to “Hinges”, but it doesn't create a constraints name for it or anything, how do I feed it into the rigid body solver? In the 17.5 demo, we see how he drew the hinge constraints for the door, kinda want to know the little trick here.

Thanks in advance
User Avatar
Staff
88 posts
Joined: Feb. 2008
Offline
The rbd constraints from* nodes only create the geometry with a name and restlength attributes. You need to pipe that into an rbd constraint properties node to set up the constraint attributes.
User Avatar
Member
79 posts
Joined: Feb. 2016
Offline
npetit
The rbd constraints from* nodes only create the geometry with a name and restlength attributes. You need to pipe that into an rbd constraint properties node to set up the constraint attributes.

Thank you npetit, it's very helpful. It seems the door hinge demo was essentially a hard constraint then?
User Avatar
Staff
88 posts
Joined: Feb. 2008
Offline
It was a slider constraint if I remember, just using the constraint_name attrib from the constraint properties, the rest of the settings were driven off the dop constraint itself
Edited by npetit - May 11, 2019 19:59:02
User Avatar
Member
22 posts
Joined: April 2018
Offline
Hi, I'm interested which door constraint demo are you discussing?
Edited by Seaton - May 30, 2019 18:49:59
  • Quick Links