houdini engine Unreal (hengine_noswap) option

   954   1   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
534 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)

  • Quick Links