Move, Rotate and Scale for each point of spline

   2277   2   0
User Avatar
Member
28 posts
Joined: Nov. 2017
Offline
Hi!
I'm creating a .hda spline road to be imported in Unreal.
I'd like to expose the location, rotation and scale parameters of each point of the curve and be able to edit them. Is it possible? How can I achieve that?
User Avatar
Staff
534 posts
Joined: Sept. 2016
Offline
Hi,

If your HDA uses either a Curve input, or a World input that selects an actor with a Spline Component, this will create a curve in Houdini that has additional rot/scale attributes.

You can then change the rotation/scale per control point using the transform widget in unreal as usual
User Avatar
Member
28 posts
Joined: Nov. 2017
Offline
Hi @dpernuit,
Thanks for your answer, but maybe I didn't explain myself well.
I've already done what you write and it works. Now I want to see this information in Unreal details.
For Example. I have an initial line:
- point 0 is in coordinates {0;0;0}
- point 1 is in coordinates {0;1;0}

If I select point 0, I want to see the parameter LOCATION X:0 Y:0 Z:0 in Unreal hda details.
Now, for example: If I move point 0, with transform widget, to {0;2;0} or I decide to write in details at LOCATION parameter X:0 Y:2 Z:0, I want to see an update at the position of my point.
How can I do this? How can I save this information in the .hda in Houdini? Is it possibile using a Curve Input or is possibile only with a spline component?
Thank you very much.
  • Quick Links