Hi
Is there a way to drive a Transformation Handle's Pivot and Pivot Rotation of a HDA from inside the HDA?
I want to be able to rotate, scale and translate the HDA normally, using the handle, but the handle's pivot and handle orientation have to follow attributes from inside the HDA.
Is there a way to obtain this?
Driving a Transformation Handle's Pivot from inside the HDA
1564 1 1-
- PaoloGiandoso
- Member
- 72 posts
- Joined: June 2020
- Offline
-
- Yann_P
- Member
- 13 posts
- Joined: Jan. 2015
- Offline
Hello,
This post is quite old, but I'm currently struggling with a similar problem on a vehicle's "rig".
I have a truck asset (HDA) with user's transform parameters.
The Translate handle works just fine, but the rotation handle always stays at the origin.
In the Handle Binding panel, the three rotation values are linked to the rx, ry and rz user parameters, and I linked the px, py and pz to the tx,ty and tz user parameters, but the handle doesn't move.
Strangely enough, for testing purpose, I linked px, py and pz to rx, ry and rz, and the rotation handle moves (akwardly of course, but something happens - weirdly enough, it rotates about the translation pivot...).
Is this related to some priority order, like the rotation is evaluated first and doesn't take the translation parameters into account ?
EDIT :
My bad, I had some dirty transform values on the pivots here and there...
For what it's worth, I also join the file. Not sure this is a good way to do this, just exploring things in rig - which is kinda new to me in Houdini.
HDA(nc) : https://drive.google.com/file/d/1I4OtcZjeR5G3z88wrI78aKqeWeZn4Mk9/view?usp=sharing [drive.google.com]
Test file : https://drive.google.com/file/d/1MK_JtC1Evmr3yNlAkUoEcsZ1wJKp3Btc/view?usp=drive_link [drive.google.com]
This post is quite old, but I'm currently struggling with a similar problem on a vehicle's "rig".
I have a truck asset (HDA) with user's transform parameters.
The Translate handle works just fine, but the rotation handle always stays at the origin.
In the Handle Binding panel, the three rotation values are linked to the rx, ry and rz user parameters, and I linked the px, py and pz to the tx,ty and tz user parameters, but the handle doesn't move.
Strangely enough, for testing purpose, I linked px, py and pz to rx, ry and rz, and the rotation handle moves (akwardly of course, but something happens - weirdly enough, it rotates about the translation pivot...).
Is this related to some priority order, like the rotation is evaluated first and doesn't take the translation parameters into account ?
EDIT :
My bad, I had some dirty transform values on the pivots here and there...
For what it's worth, I also join the file. Not sure this is a good way to do this, just exploring things in rig - which is kinda new to me in Houdini.
HDA(nc) : https://drive.google.com/file/d/1I4OtcZjeR5G3z88wrI78aKqeWeZn4Mk9/view?usp=sharing [drive.google.com]
Test file : https://drive.google.com/file/d/1MK_JtC1Evmr3yNlAkUoEcsZ1wJKp3Btc/view?usp=drive_link [drive.google.com]
Edited by Yann_P - Dec. 18, 2023 14:04:41
Head of CGTraining - ESMA School, Toulouse -
-
- Quick Links

