Terrain Input not supporting offset?

   1545   4   1
User Avatar
Member
52 posts
Joined: Nov. 2016
Offline
So I am not sure if I am doing something wrong,
but if I pipe a terrain into a simple OBJ HDA with a Geo node that just does a Heightfield Convert, I get the result at 0,0,0 instead of with the correct offset.

Now if I do it with a SOP subnet turned into HDA it works perfectly fine, unfortunately I need to use the unity_instance method so gotta keep my HDA as OBJ.
User Avatar
Member
571 posts
Joined: May 2017
Offline
Hmm, are you able to post your HDA or show your network? Usually the object merge handles how the transform is applied, using the Keep World Transform setting from the input field UI.
User Avatar
Member
52 posts
Joined: Nov. 2016
Offline
Yes should have posted that!
Here you go.

I am on Unity 2018.3.0b2
Houdini 16.5.668

I just added a mesh object too to make sure that behaved as expected
Edited by MartinBaadsgaard - Nov. 27, 2018 16:53:30

Attachments:
terrain_offset_test.hda (17.8 KB)

User Avatar
Member
571 posts
Joined: May 2017
Offline
In your HDA, change the terrain OBJ's object merge's Transform type to “Into this Object”.
User Avatar
Member
52 posts
Joined: Nov. 2016
Offline
That did it! Thanks!
  • Quick Links