axelsp Posted November 3, 2017 Share Posted November 3, 2017 Hello everybody! I've got one agent for a crowd simulation. He's holding a sword on his R_hand. When using Agentedit node, Im able to adjust transformations of that controller, which is great, but it affects all agents in the same way. =( What would be the approach to randomize the wrist rotation to get some variation over to the crowd sim ? Thanks! Quote Link to comment Share on other sites More sharing options...
galagast Posted November 3, 2017 Share Posted November 3, 2017 One suggestion might be is to run a point wrangle after your crowd_source targeting the packed agents. Then use agentrigfind() to look for the wrist part of the rig. This would return an ID that you could use with the agentlocaltransform() function. From here you would now have a transform matrix that you can randomize, then just write it back to your agents using setagentlocaltransform() Conceptually I believe that would be the workflow Quote Link to comment Share on other sites More sharing options...
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.