evanrudefx Posted August 31, 2018 Share Posted August 31, 2018 (edited) Hey, I have a line that I would like to transform in the direction of the curve. How can I rotate the pivot rotation to match the line? I am trying to match the Z axis to the line by rotation the pivot rotation y. Thanks Edited September 4, 2018 by ejr32123 Quote Link to comment Share on other sites More sharing options...
pxptpw Posted September 1, 2018 Share Posted September 1, 2018 not sure if i understood the question right but to rotate the pivot you can press the insert key to change the rotation to the desired axis Quote Link to comment Share on other sites More sharing options...
evanrudefx Posted September 1, 2018 Author Share Posted September 1, 2018 The question was how to align it perfectly. Quote Link to comment Share on other sites More sharing options...
Atom Posted September 1, 2018 Share Posted September 1, 2018 You can just grab both end points and subtract them. This will give you an offset vector to slide the line along. Not really an answer for the pivot, but covers your first sentence request. ap_move_line_along_direction.hiplc 1 Quote Link to comment Share on other sites More sharing options...
evanrudefx Posted September 2, 2018 Author Share Posted September 2, 2018 thanks for the ideas. I actually have the transform on another piece of geo that I want to move in the direction of this line. Quote Link to comment Share on other sites More sharing options...
pabcou Posted September 3, 2018 Share Posted September 3, 2018 (edited) I think this may do what you need: 1. Template the reference geometry (in your case, the line) 2. Select the Transform SOP and display the handle 3. Enter Pivot Mode [Ins] 4. Start Orientation Picking [;] 5. RMB on the Viewport > "Use Extended Mode" 6. Determine which two points (P, Q) on the reference geo will define the Z axis of the pivot (the pivot will be placed on P) 7. Shift-LMB on the Q point, then LMB on the P point 8. Exit Pivot Mode [Ins] Edited September 3, 2018 by pabcou 1 2 Quote Link to comment Share on other sites More sharing options...
evanrudefx Posted September 3, 2018 Author Share Posted September 3, 2018 5 hours ago, pabcou said: I think this may do what you need: 1. Template the reference geometry (in your case, the line) 2. Select the Transform SOP and display the handle 3. Enter Pivot Mode [Ins] 4. Start Orientation Picking [;] 5. RMB on the Viewport > "Use Extended Mode" 6. Determine which two points (P, Q) on the reference geo will define the Z axis of the pivot (the pivot will be placed on P) 7. Shift-LMB on the Q point, then LMB on the P point 8. Exit Pivot Mode [Ins] cheers! I didnt even know you could do this!!! thanks Quote Link to comment Share on other sites More sharing options...
evanrudefx Posted September 4, 2018 Author Share Posted September 4, 2018 (edited) I figured out a solution that works really well. On my curve/ line use poly frame. For tangent name use N. I create a transform axis node on the object I want to transform. Just copy the Normal values to the Direction of the transform axis. Then you can animate the translate value! Edited September 4, 2018 by ejr32123 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.