Hi.
I've trying to get the pivot that's used by the gameobject in unity inside of houdini via object merges.
I thought i'd need to pack the merged reference but that's giving me a centroid of the object instead of the pivot
Is there a way to get the pivot points?
Thanks
Game object pivot instead of centroid
3703 4 1- kypo
- Member
- 13 posts
- Joined: Nov. 2019
- Offline
- anthonyt2
- Member
- 100 posts
- Joined: Dec. 2020
- Offline
By default, Unity uses the centered pivot point rather than the pivot in the geometry. See: https://docs.unity3d.com/Manual/PositioningGameObjects.html [docs.unity3d.com] . So you can either try toggiling the Unity pivot gizmo or move your object relative to the world origin (0,0,0).
- kypo
- Member
- 13 posts
- Joined: Nov. 2019
- Offline
- anthonyt2
- Member
- 100 posts
- Joined: Dec. 2020
- Offline
The plugin recursively finds the valid inputs of the gameObject that you input and then marshall data into Houdini one by one if they are valid. In this case, it will ignore your parent "pivot" gameObject. I'm not entirely sure if this will help, but have you tried playing around with the "Keep World Transform" or the "Pack Geometry Before Merging" options?
Edited by anthonyt2 - July 7, 2021 17:43:35
- kypo
- Member
- 13 posts
- Joined: Nov. 2019
- Offline
Thanks Anthony. I think what i'm looking to do isn't possible but I have a work around. It's good to know about
The plugin recursively finds the valid inputs of the gameObject that you input and then marshall data into Houdini one by one if they are valid.as it'll help with refine the work around. Thanks for the insight.
-
- Quick Links