houdini engine Unreal (hengine_noswap) option

   1603   2   0
User Avatar
Member
1 posts
Joined: Nov. 2021
Offline
Vector3 parameters (Integer or Float) are also automatically identified and displayed using Unreal's XYZ coordinates, but other parameter types won't. This means that a single "Y Position" parameter exposed in Houdini will actually control the Z position in Unreal's coordinate system. You may choose to prevent a Vector3 parameter from automatically switching its Y and Z axis when displayed in Unreal by setting the hengine_noswap tag to 1 on the parameter.

hengine_noswap Float (tuple3) Indicates that the Vector3 Y and Z values should not be swapped in Unreal.


how can unable houdini engine to auto swap axis. i found information how to do it but no work for me. if someone have information to how control the hengine_noswap to get the HDA exact like in houdino without swaping y for z. please help
User Avatar
Staff
553 posts
Joined: Sept. 2016
Offline
Hi,

In the type properties dialog, select the Vector3 parameter you want to enable noswap for.
At the bottom right, you'll find tags.
Click on the + button to create a new tag, name it hengine_noswap, and set its value to 1.
Apply the changes, save the hda.

In unreal, changing the Y value of the parameter will also change the Y value in H, same for the Z value.

Attachments:
noswap.PNG (185.5 KB)

User Avatar
Member
15 posts
Joined: Nov. 2022
Offline
dpernuit
hengine_noswap

Hi Damien, here's what I don't understand. I'm dragging the translate node of my pighead node and attaching the hengine_noswap for the name and 1 for the value. But when I rebuild my HDA inside UE5 I don't see a change. What am I missing? thank you!

Attachments:
Screenshot 2024-08-19 145528.png (61.1 KB)
Screenshot 2024-08-19 145844.png (1.3 MB)

  • Quick Links