Move packed prims with simple click and drag in viewport?

   452   3   0
User Avatar
Member
1056 posts
Joined: 4月 2017
Offline
Hi!

I have a bunch of pieces I need to move from the top view. Currently I'm just using a transform sop, using its group to select the piece and finally move with a gizmo that is annoyingly at the origin instead of on the piece... ARG! Multiply that times 50 and you'll go nuts!

Is there some sop node that would allow me to simply click and drag on the pieces. All within a single node?

-Olivier
User Avatar
Member
708 posts
Joined: 2月 2017
Offline
Hey, Olivierth,
Labs pick and place comes to my mind. But this works with pieces the user places not ones already placed.
Maybe you can look inside and it could be modified to work that way. It comes with the ability to move
the already placed objects so it should be possible.

edit: btw if you put
$GCX $GCY $GCZ
in the xform pivot translate the gizmo is at the group center.
Cheers
CYTE
Edited by CYTE - 2024年7月17日 14:51:33
User Avatar
Member
457 posts
Joined: 2月 2012
Online
You can also use the edit sop - obviously, it is not procedural but it works with pack prims
User Avatar
Member
1056 posts
Joined: 4月 2017
Offline
Thanks for the help but both options are not exactly what I was looking for.

At the end, I created a tool that allows me to create 2 point curves (even points = source position, odd points = destination position). With some scripts, the pieces are moved to the destination point positions... And its procedural so, that's a plus for me.

-Olivier
  • Quick Links