How would you get the transforms of an object plugged into an hda in Unreal Engine?

   6020   6   1
User Avatar
Member
453 posts
Joined: Feb. 2013
Offline
I want to be able plug an undetermined number of meshes (that are placed inside a level in UE4) into an hda. After that I want the hda to do something with the transforms (location, rotation, and scale in UE4) of these meshes.

So in two questions:
How do I set up an hda parameter for the (static mesh) actor input so that I can add an undetermined amount of actors?

How do I get the unreal world transform values for these actors?
User Avatar
Member
173 posts
Joined: April 2014
Offline
I don't think there's a way to do it at the moment. There's no way to input the points with transforms, only geometry / curves.
User Avatar
Member
173 posts
Joined: April 2014
Offline
DASD, only way to do this I can think of is, have a blueprint which dumps your points / transforms into a json / csv file and have a Houdini asset which takes that file.
User Avatar
Member
453 posts
Joined: Feb. 2013
Offline
Alright thanks! I solved it with blueprints.
Also another solution I could think of would be to have the same object in the Houdini Tool and calculate the difference of position based on the first 3 points.
User Avatar
Member
402 posts
Joined: March 2013
Offline
The Unreal plugin has a new input type called “World Outliner Input”. With this, you can input multiple Actors from the scene into a single input on the asset. What this does in Houdini is create a Merge SOP that puts together all the input meshes from the input Actors and passes it to the asset's input.

Knowing this, you can go back up the input to the asset and find the list of input meshes (which are in their own OBJ nodes) and get their transforms.
User Avatar
Member
453 posts
Joined: Feb. 2013
Offline
Thank you! Very good to know!
User Avatar
Member
4 posts
Joined: May 2019
Offline
damian
The Unreal plugin has a new input type called "World Outliner Input". With this, you can input multiple Actors from the scene into a single input on the asset. What this does in Houdini is create a Merge SOP that puts together all the input meshes from the input Actors and passes it to the asset's input.

Knowing this, you can go back up the input to the asset and find the list of input meshes (which are in their own OBJ nodes) and get their transforms.
Hi, I googled this because Im trying to do the same thing. I don't know how to begin to do what you've described, but it looks like what I need. Could you please elaborate?
  • Quick Links