Jump to content

Simple Constrain-To-A-Single-Point Setup


Recommended Posts

Hi all,

Another Noob question here:

I'd like create a setup that takes my object A (in this case, a Line SOP) and constrains its pivot position and vector angle to the pos and N of a given point on object B (in this case a mesh object). I'd like to include in the setup, an integer slider that lets me choose the point number.

I have to imagine this is a fairly simple thing to do and have been searching for the right tutorial but haven't found it yet. Can anyone out there share a tutorial link, or maybe a VEX snippet?

BTW, I'd welcome a VOP solution just as well.

Preemptive thanks to any responders!

NpF

 

Link to comment
Share on other sites

The easiest way to do this is probably via Copy to Points. Just object merge your Object B into a network, define the point you want as a point group, then Copy to Points to that point group. Your line will automatically align its local +Z axis to the point normal of your template mesh.

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