Pittiplatsch Posted September 23, 2013 Share Posted September 23, 2013 (edited) 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 September 23, 2013 by Pittiplatsch Quote Link to comment Share on other sites More sharing options...
old school Posted September 23, 2013 Share Posted September 23, 2013 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. Quote Link to comment Share on other sites More sharing options...
Pittiplatsch Posted September 23, 2013 Author Share Posted September 23, 2013 Thank you, old school. Both ways are working pretty well. 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.