DaveMcD Posted March 10, 2017 Share Posted March 10, 2017 I've got some crowd sticking to a deforming base mesh in H16 (think swinging base platform) and I'm using 'terrain projection' and 'stick to deforming geometry' to have crowd stuck on the surface. The base mesh has an attribute of the point speed and what I'd like to do is have certain crowd triggered into ragdoll after a certain speed threshold is hit (the points seem to have no velocity of their own when stuck to the surface) but a trails node and a length calc in the source SOP can pass this as an attribute. The problem I have is that although I can pass my speed attribute through into the crowd sim it doesn't update with the animated values only the first frame value. Any ideas how to get this attribute to update every frame? Cheers, Dave Quote Link to comment Share on other sites More sharing options...
Atom Posted March 10, 2017 Share Posted March 10, 2017 (edited) Drop down a PopWrangle after the Merge States node and place code in there to "poll" or review the attribute in question. Then add a new Crowd State and Crowd Transition node set to examine the attribute and migrate state when a condition is met. Edited March 10, 2017 by Atom 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.