Jump to content

"Look at"-Constraint transformation


Recommended Posts

Hi,

I'm relatively new to Houdini and doing some simple rigging tests at the moment.

And I am confused a little when using the "Look at"-Parameter in the Transform-Tab of some nodes. It is working, but I wonder why the rotation parameter values not updating when I moving the look at target in the viewport. It whould be very helpful when using these values for further expression use.

Thanks,

Peter

Edited by Pittiplatsch
Link to comment
Share on other sites

If you want to see and use the actual rotate values, you can use an hscript expression to extract the rotate values:


vrorigin("", "../cam1")[0]
vrorigin("", "../cam1")[1]
vrorigin("", "../cam1")[2]
[/CODE]

The vrorogin() function cracks the rotate transform between two target objects, the first "" defaults to world space. It is common to use an opinput() function as the first object target argument if the camera has a parent constraint to grab the local transform.

The origin() function can extract the entire object transform.

The complementary vtorigin() function can be used to extract transforms from a target object.

Or you can use an Object CHOP and fetch the rotates for the camera.

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