Constrain a Group (e.g. of points) to a Null (at Geo level)

   733   1   4
User Avatar
Member
15 posts
Joined: Feb. 2015
Offline
Hi,

Basically (for my immediate need anyway), is there a straight forward way to constrain a group of points to a Null's position?

Current hoop-jumping solution seems to be having to use expressions to pipe the Null's World coordinate values (hoop within a hoop), into the transform SOP.


This is my current point of reference for solving it.
https://www.youtube.com/watch?v=nn8UtXerCGk [www.youtube.com]

Many thanks,

Adam.


I was spoilt in Softimage where Create Cluster(group) Centre or Constrain Cluster to Object were the equivalents.
Edited by adamseeley - Feb. 28, 2023 10:42:28
User Avatar
Member
1743 posts
Joined: May 2006
Offline
No doubt lots of ways, here's a slightly cheeky way that uses an extract transform, so doesn't require code.

Object merge in the null control shape at rest, and merge it again with 'into this object' to get the animated one, then feed bot to an extract transform. You then get a point with animated @P and @orient that you can use with a copytopoints on the geo you want.

I tried a vex solution before this, but I feel this is cleaner.

Attachments:
sops_points_to_null_parent.hip (270.0 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
  • Quick Links