PvWarch Posted October 30, 2020 Share Posted October 30, 2020 Hi, I tried to insert a symbol in a marionette script. It inserts at z=0 But when I try to move the symbol along the z axis strange things happen. Can anyone tell me what's wrong? If you disconnect the move node the pillow's are at the correct position but on z=0 See attachment for details. bed v4 v2021.vwx Quote Link to comment
AlHanson Posted December 12, 2020 Share Posted December 12, 2020 The strangeness has to do with your network structure through the IF nodes. The IF wants two data set options versus functioning as a post node downstream routing control like you're attempting. Rather than 2 IF and 3 Separate Symbol/Move commands, you can do this with a single IF, Symbol and Move command. Use the IF to determine if it should insert 1 or 2 pillows as you are but rather than directing the symbol name string, have it direct either the single insertion point, or a list of insertion points for multiple pillows. The symbol node is able to process the list of multiple points, so a single node will run twice if a list of 2 points are sent to it, and then the move command will handle the list of both pillows. I've attached a tweaked version for you to check out. bed v4B.vwx Quote Link to comment
PvWarch Posted December 14, 2020 Author Share Posted December 14, 2020 Hi @AlHanson, Thank you for your help. This works great! I've still al lot to learn with marionette ;-) Best regards, Peter Quote Link to comment
Recommended Posts
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.