mennalur Posted January 11, 2012 Share Posted January 11, 2012 Hi everyone! I've been working on this building and i want to rotate the building. It should be facing the middle of the "yard" (space between the walls) I am now trying to point the normals to the middle but this doesnt workout the way i would like to. the normal is pointing at the Given location as long as the point is on global 0,0,0. But when i move the point around the normal doesn't seem to adjust itself. At the right point in space. The normal does not adjust itself: At zero 0,0,0.: Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted January 11, 2012 Share Posted January 11, 2012 Don't reference a point from a SOP in another object from inside another object. I just don't think that's a good practice. Likely, Houdini isn't cooking the node when null10 moves cause it doesn't know there is a reference. You should use ObjectMerge to bring the point from Null10 into the current SOP, and then reference the point from the ObjectMerge SOP. Once you've used ObjectMerge, and you've told it to translate the geometry into the current object space. Then the imported point will be your normal. You just need to normalize it. Quote Link to comment Share on other sites More sharing options...
freaq Posted January 11, 2012 Share Posted January 11, 2012 here is a scene on how to do it, scroll through the timeline to select a point along the curve. you might need to normalize after (facet node set to make unit length) aim_normal.hipnc Quote Link to comment Share on other sites More sharing options...
mennalur Posted January 11, 2012 Author Share Posted January 11, 2012 Thnx! It's working now It was indeed in another SOP and my expression wasn't right. I still had to subtract the points location. 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.