# Houdini RBD Simulation to Unreal Issues - SOLVED

**URL:** <https://realtimevfx.com/t/houdini-rbd-simulation-to-unreal-issues-solved/6930>\
**Category:** Houdini Help\
**Tags:** vfx, unreal, simulations, ue4, houdini\
**Created:** [December 18, 2018, 2:23pm UTC](https://realtimevfx.com/t/houdini-rbd-simulation-to-unreal-issues-solved/6930 "2018-12-18T14:23:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr.pitz](https://realtimevfx.com/user_avatar/realtimevfx.com/mr.pitz/32/6246_2.png) [@mr.pitz](https://realtimevfx.com/u/mr.pitz)\
**Post date:** [December 18, 2018, 2:23pm UTC](https://realtimevfx.com/t/houdini-rbd-simulation-to-unreal-issues-solved/6930/1 "2018-12-18T14:23:13Z")

</div>

Hey guys. I’ve got some problem getting my very simple “falling tree” simulation working correctly in Unreal via Vertex Animatio Textures. The exported simulation seems to be offset or something ¯\_(ツ)\_/¯

In Houdini I’ve got a simple mesh which I convert into a RBD Packed Object. In the DOP Network I give it some velocity to make it fall. After that I render the simulation with the _GameDev Vertex Animation Textures_ Tool.  
Importing it to Unreal. Setting up the shader but don’t getting the exact simulation.  
It seems as if the pivot point is at the wrong place, or something. I’d appreciate if someone could point me in the right direction.

I attached some files from the Houdini network and the Unreal shader.

 ![DOP%20Network](https://realtimevfx.com/uploads/default/original/2X/5/531323de53995f1258d2e0e7aecc4476e881b785.png)

> DOP Network in Houdini

[![](https://img.youtube.com/vi/UDZ3DSBBHwQ/maxresdefault.jpg "Houdini RBD Test") ](https://www.youtube.com/watch?v=UDZ3DSBBHwQ)

> VertexAnimationTexture in Houdini

[![](https://img.youtube.com/vi/5atRwxBopUY/maxresdefault.jpg "Unreal Vertex Animation Texture") ](https://www.youtube.com/watch?v=5atRwxBopUY)

> Sim in Unreal

---

<div class="post-metadata">

**Author:** ![DieByZer0](https://realtimevfx.com/user_avatar/realtimevfx.com/diebyzer0/32/302_2.png) [@DieByZer0](https://realtimevfx.com/u/DieByZer0)\
**Post date:** [December 18, 2018, 3:03pm UTC](https://realtimevfx.com/t/houdini-rbd-simulation-to-unreal-issues-solved/6930/2 "2018-12-18T15:03:07Z")

</div>

Interesting, Before the export node can you plug a convert and then a transform node? Re-export and let us know.

I dont have anything ready atm to run some tests.

If that doesnt work maybe one of our sidefx residents knows. @luiz

---

<div class="post-metadata">

**Author:** ![mr.pitz](https://realtimevfx.com/user_avatar/realtimevfx.com/mr.pitz/32/6246_2.png) [@mr.pitz](https://realtimevfx.com/u/mr.pitz)\
**Post date:** [December 18, 2018, 3:27pm UTC](https://realtimevfx.com/t/houdini-rbd-simulation-to-unreal-issues-solved/6930/3 "2018-12-18T15:27:26Z")

</div>

Thanks for the fast reply. After plugging in the convert and transform node and re-exporting it, I get even wearder results. The BBOX Max and Min values in Houdini are now set to 0 and the sim seems to be wrong rotated.

[![](https://img.youtube.com/vi/8UJ6XNghAVM/maxresdefault.jpg "Unreal Vertex Animation Texture") ](https://www.youtube.com/watch?v=8UJ6XNghAVM)

 ![DOP%20Network%202](https://realtimevfx.com/uploads/default/original/2X/3/3d30814e0ae447412ef8d839abc16a37dff73996.png)

Also i get a warning at the vertex\_animation\_texture node, saying:  
Warning  
Skipping unrecognized parameter “png\_alpha\_multiplication”.

---

<div class="post-metadata">

**Author:** ![DieByZer0](https://realtimevfx.com/user_avatar/realtimevfx.com/diebyzer0/32/302_2.png) [@DieByZer0](https://realtimevfx.com/u/DieByZer0)\
**Post date:** [December 18, 2018, 4:16pm UTC](https://realtimevfx.com/t/houdini-rbd-simulation-to-unreal-issues-solved/6930/4 "2018-12-18T16:16:43Z")

</div>

I don’t think anyone has mentioned it but BBY and BBX and BBZ don’t work well with unreal from houdini. I know as i’ve used them to control some math in an asset i made recently. I made a lightning and i wanted to crop it in a curve path using BBY in my math i got the result i wanted in houdini but when i brought it in unreal it completely broke the curves i used. I used a uv attribute instead.

ps show us what it looks on an actual level not the preview window.  
ps2 if nobody solves this for you try hitting up sidefx support, They will take a day tops usually to reply.  
ps3 worth to mention my BB issue was related to houdini engine so it might not be related to your vertex anim export as i am not sure if it writes that info.

---

<div class="post-metadata">

**Author:** ![Travis](https://realtimevfx.com/user_avatar/realtimevfx.com/travis/32/9559_2.png) [@Travis](https://realtimevfx.com/u/Travis)\
**Post date:** [December 18, 2018, 4:38pm UTC](https://realtimevfx.com/t/houdini-rbd-simulation-to-unreal-issues-solved/6930/5 "2018-12-18T16:38:52Z")

</div>

Have you tried running your Unreal sim in a level at 0,0,0 just to be sure? In the material and animation editor windows you can have the floor offset. You could be getting the results you want, but the floor itself in the preview window is at -10 or something.

---

<div class="post-metadata">

**Author:** ![mr.pitz](https://realtimevfx.com/user_avatar/realtimevfx.com/mr.pitz/32/6246_2.png) [@mr.pitz](https://realtimevfx.com/u/mr.pitz)\
**Post date:** [December 19, 2018, 1:11pm UTC](https://realtimevfx.com/t/houdini-rbd-simulation-to-unreal-issues-solved/6930/6 "2018-12-19T13:11:10Z")

</div>

Well, I tried all the stuff you guys suggested but without any success. It seems as if its because of the imported geo I’m useing. When I just create a tube from Houdini it works perfect with my setup. Even when I use the imported geo, but shattered, it works.  
Always when Houdini adds some own geo it works. Do I have to use any special import settings for the FBX?

---

<div class="post-metadata">

**Author:** ![meta\_t](https://realtimevfx.com/user_avatar/realtimevfx.com/meta_t/32/1493_2.png) [@meta\_t](https://realtimevfx.com/u/meta_t)\
**Post date:** [December 19, 2018, 2:16pm UTC](https://realtimevfx.com/t/houdini-rbd-simulation-to-unreal-issues-solved/6930/7 "2018-12-19T14:16:28Z")

</div>

Yo !  
Have you checked that page ? [Vertex Animation Tool - Timeline Meshes in Unreal Engine | Unreal Engine 5.0 Documentation](https://docs.unrealengine.com/en-us/Engine/Animation/Tools/VertexAnimationTool/VAT_TL_Meshes)  
Theres a lots of infos on how to set up your texture and meshes.

Please note that I noticed that sometime you need to delete and create the VAT node because it can be glitchy.

Hope it help 🙂

---

<div class="post-metadata">

**Author:** ![mr.pitz](https://realtimevfx.com/user_avatar/realtimevfx.com/mr.pitz/32/6246_2.png) [@mr.pitz](https://realtimevfx.com/u/mr.pitz)\
**Post date:** [December 20, 2018, 10:51am UTC](https://realtimevfx.com/t/houdini-rbd-simulation-to-unreal-issues-solved/6930/8 "2018-12-20T10:51:44Z")

</div>

Finally I found out what’s going on. In the Dopimport I had to set the Pivot Location to Origin.

 ![DOP%20Network%203](https://realtimevfx.com/uploads/default/original/2X/0/02519672b2e5f1508b53529389d671ed5c8d1e26.png)

Didn’t know that. It works now. Maybe it helps someone else. Thanks for your help guys.
