Jump to content

reference a geometries vector in a vop sop


Recommended Posts

I am following a tutorial that built a flocking system with VEX and I am building something similar in a VOPSOP but cant figure out the nodes to use for the vex  optransform(opPath).

 

I basically want to bring in an objects position to use as a goal in VOPS and am struggling to find a way of referencing the object VOPS. 

Any help would be greatly appreciated.

 

Thanks

 

 

 

Link to comment
Share on other sites

I would probably create a parameter node and set the variable type to three floats. Then at the VOPSOP node level use an expression to point to the object position with something like centroid or a specific point location. There's also this, but it might not be as flexible as a parameter expression.

 

http://www.sidefx.com/docs/houdini13.0/nodes/vop/getobjxform

Edited by lukeiamyourfather
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...