Setting attributes in UE4 for use by HDA?
3830 6 1- Aten
- Member
- 42 posts
- Joined: 4月 2018
- Offline
Hi, I'm trying to set up a curve based system in UE4. I'm using a spline blueprint in UE4 to create the splines and selecting them in world outliner - as potentially there may be many splines. I'd really like to control the amount of bevel on each spline point as an attribute but not sure on the best way to do this.
The spline controls are global but what i really want is to be able to set them up per point on the spline. Setting them to use the UE4 spline and then resample them follows the curves nicer but gives undesirable results on 90 degree turns. Setting them to resolution 0 give a nice result on 90 degrees but loses the ability to do nice curves!
I guess I'm asking what's the best way to set this up so i have more control over these things. Can I set up attribute on the spline points in UE4 that Houdini can read?
Any ideas would be welcome
The spline controls are global but what i really want is to be able to set them up per point on the spline. Setting them to use the UE4 spline and then resample them follows the curves nicer but gives undesirable results on 90 degree turns. Setting them to resolution 0 give a nice result on 90 degrees but loses the ability to do nice curves!
I guess I'm asking what's the best way to set this up so i have more control over these things. Can I set up attribute on the spline points in UE4 that Houdini can read?
Any ideas would be welcome
Edited by Aten - 2020年7月4日 17:46:42
- Andr
- Member
- 900 posts
- Joined: 2月 2016
- Offline
Have you eventually found a solution?
I'm kind in the same boat as I'm driving a sweep node from UE4 spline and I'd like to control the width of the sweep..
So I need to find some way to set a float value for each spline point that the HDA should interpret as pscale.
On workaround could be to use the @P.y of each spline point to drive whatever float attribute you need in Houdini…
Not super practical and not suitable for every case…
I'm kind in the same boat as I'm driving a sweep node from UE4 spline and I'd like to control the width of the sweep..
So I need to find some way to set a float value for each spline point that the HDA should interpret as pscale.
On workaround could be to use the @P.y of each spline point to drive whatever float attribute you need in Houdini…
Not super practical and not suitable for every case…
Edited by Andr - 2020年8月21日 18:44:40
- hektor
- Member
- 54 posts
- Joined: 9月 2013
- Offline
- Aten
- Member
- 42 posts
- Joined: 4月 2018
- Offline
- Jonteman
- Member
- 2 posts
- Joined: 6月 2020
- Offline
- rocxerjacson
- Member
- 1 posts
- Joined: 12月 2020
- Offline
Andr
Have you eventually found a solution?
I'm kind in the same boat as I'm driving a sweep node from UE4 spline and I'd like to control the width of the sweep..
So I need to find some way to set a float value for each spline point that the HDA should interpret as pscale.
On workaround could be to use the @P.y of each spline point to drive whatever float attribute you need in Houdini…
Not super practical and not suitable for every case…
can you give this hda Rotation and Scale Attributes in curve
- hektor
- Member
- 54 posts
- Joined: 9月 2013
- Offline
-
- Quick Links