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
Move Object Center to Selected Point(s)
7320 3 0- hbahnassi
- Member
- 4 posts
- Joined: Sept. 2018
- Offline
- CYTE
- Member
- 709 posts
- Joined: Feb. 2017
- Offline
- scarything
- Member
- 5 posts
- Joined: June 2017
- Online
- Konstantin Magnus
- Member
- 686 posts
- Joined: Sept. 2013
- Offline
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;
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
-
- Quick Links