Jump to content

move pivot to specific point


JJ FX

Recommended Posts

Hi!

If I have a polygon sphere, and I want to put the pivot of my transform sop to point number 30 on my sphere, I would write like so 

point("../sphere1", 30, "P", 0)       point("../sphere1", 30, "P", 1)        point("../sphere1", 30, "P", 2)

You're trying to do "P.x". The function is looking for an attribute, so you just need put "P" for position. Since position is a vector, it has 3 components which are what the last number in the function refer to. 0 for x, 1 for y, and 2 for z. 

Hope this helps!

  • Thanks 1
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...