hbahnassi
2021年11月25日 11:26:18
Hi,
Is there similar functionality in Houdini (Transforming object center to selected point(s)), if not I appreciate some tips on how to create it with SOP/VEX if possible

Thanks,
Homam
CYTE
2021年11月26日 06:06:49
Hey hbahnassi,
you can make a group containing the points you want the center to be. Then use the match size node and toggle the "use groups to determine justification bounds". Select your group there and set Justify X,Y,Z values to your liking.
Cheers
CYTE
scarything
2022年6月28日 07:07:59
why the thumbs down? perfect answer
Konstantin Magnus
2022年6月29日 04:24:45
In a VEX point wrangle it may be:
// INPUT 0: Mesh to be translated
// INPUT 1: Points with group 'sel'
vector pos_center = getbbox_center(0);
vector pos_pts = getpointbbox_center(1, 'sel');
v@P += pos_pts - pos_center;