Let me start of saying I’m very new to Unreal but wanted to give Control Rig and as a test want to create say an Arm function that takes in a set of controls and joints and sets up the rig.
The trouble is that I would need to do different things in the Setup Event and Forwards Solve but I can’t figure out how to make a distinction in the execute context or add an additional input/output so I am able to handle them separately in the function itself.
Is this something that is possible or is it a bad idea and the best approach would be to have a separate function for each event?
This was my approach as well, but in 5.1 it’s not possible to pass multiple execution streams into a function. What I’m trying at the moment is using a branch node in the function to send the stream to either construction or forward solve. Then you reference the function twice in your main graph. Not sure if this is a good idea yet or not. The suggested way is to have separate functions for each solve type. In each case the input for the execution stream is the same, you don’t need special pins for the different types of execution.
Thanks Morgan. Duplication the same function is not something I considered, an interesting idea. The new Construction event really changed how I’ve approached the rigging setup. In the construction event I need a lot more user input than I do during the forward solve, so I’ve been quite happy splitting them up into 2 separate functions.