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?
How would you get the transforms of an object plugged into an hda in Unreal Engine?
6884 7 1- DASD
- Member
- 453 posts
- Joined: 2月 2013
- Offline
- ttvdsfx
- Member
- 173 posts
- Joined: 4月 2014
- Offline
- ttvdsfx
- Member
- 173 posts
- Joined: 4月 2014
- Offline
- DASD
- Member
- 453 posts
- Joined: 2月 2013
- Offline
- damian
- Member
- 402 posts
- Joined: 3月 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.
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.
- DASD
- Member
- 453 posts
- Joined: 2月 2013
- Offline
- solodev
- Member
- 4 posts
- Joined: 5月 2019
- Offline
damianHi, 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?
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.
- junkbox
- Member
- 2 posts
- Joined: 1月 2024
- Offline
solodevdamianHi, 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?
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.
Sorry for necro, but I figured it out with some playing around. You've probably found a solution to the problem (hopefully) but I thought I would chime incase someone like me stumbles upon this post.
Make sure your HDA as a spare input and it's setup to do what you want, in my case Boolean the model.
- In the Sub-Network Input #2 set it to 'World Input'
- It should by Default already be setup to detect the current scene you're in
- Press the 'Start Selection' button, then select the asset from the outliner
- The 'Start Selection' button will have changed to 'User Current', click that
- You should now see it updated with the asset you've chosen
You should be all good to go. Idk if it will work for everything, but it fits what I was looking for.
Good luck.
-
- Quick Links