Move object to point impossible easily?

   1035   3   0
User Avatar
Member
9 posts
Joined: 2月 2008
Offline
Hey guys,
No matter how much I search I cant find any relevant answers. All I want to do is align my object's ZMIN bounding box side to a point I blasted from a mesh.

I have the following set up with transform node.
-Position
X:0 Y:0 Z:point("../blast9", 0, "P", 2)
-Pivot
X:0 Y:0 Z:bbox(0, D_ZMAX)

Please see the following image:



Thanks alot!
Edited by jujekious - 2021年7月4日 13:01:33
User Avatar
Member
21 posts
Joined: 9月 2018
Offline
Subtract the bounds of the sphere from the point's position instead, unless I misunderstood what you want to achieve.

point("../blast9", 0, "P", 2)-bbox(0, D_ZMAX)
User Avatar
Member
8839 posts
Joined: 7月 2007
Offline
You should also be able to use another Match Size SOP to align your geo according to bounds of another one instead of typing expressions
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
9 posts
Joined: 2月 2008
Offline
Thanks guys! Both of your methods worked great.
  • Quick Links