Jump to content

Q about hard constraint


KiLa

Recommended Posts

Hi!

How does the constraint_type, condof and condir attributes work?

Im trying to create a hinge using hard constraint...so im setting the constraint type to all (to block the falling and to control the rotation), condof to 2 (to restrict the rotation to only 1 axis) and condir to 0 1 0... and my 'door' is falling.

Do i have to use two constrains? One to stop the falling, and another to control the rotation?

Attached file contains the scene.

Cheers
-k

 

ps: Using Houdini 13.0.447

constraint.hipnc

Link to comment
Share on other sites

I could do that, but i was just trying to do it with Hard constraint :)

 

They say in the documentation thaty you could use 'position', 'rotation' or 'all' in the constraint_type attribute, but it seems that the hard constraint supports only position OR rotation. I haven't found a documentation which states the types that are supported in each constraint.

 

-k

Link to comment
Share on other sites

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...