This tool is used to generate fences in unreal with any 'Fence Mesh' - It will place instances of the fence, and generate curved sections to save memory.

It references the Fence tool which is included in Project Titan (Houdini Unreal Showcase) however it has been improved with the additional functions:

  • You can specify which mesh to instance and generate corners from directly in Unreal (The Titan example had the 'corner mesh' baked into the HDA and couldn't be changed)
  • Samples correct roll values from spline Z value. Meaning fences can curve upwards

Below is an example in unreal. Blue segments are instances of the mesh, Purple ones are custom corners generated by Houdini Engine. Project files linked below.

Example use of tool in Unreal
Example Graph in Houdini