Jump to content

Foreach, multiple outputs


Recommended Posts

Hi, 

 

I need for my foreach node to make two different calculations and send them out. So I need at least a double output.

 

How do I do that and how do I bind the outputs?

  • Confused 1
Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...
  • 1 year later...
  • 1 month later...
  • 6 years later...

For future reference this is what it would look like. For a game I'm working on I needed something similar. Easiest way is to pack your inputs before merging. this way your detail attributes won't override each other when merging. then you split them by the "path attribute", unpack them do your magic this iteration, pack them back with the same path attribute. and when you are done you can extract both clean without worrying about unmatching attributes, or attributes overwriting. ofcourse after the final split you'd need to unpack again. 

image.png.d08d9d1dbb774bc8f45ee291c41596ee.png

Edited by UtilitasArts
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...