Grain attr "Enable Rigid Shape Matching" in SOP

   4384   4   1
User Avatar
Member
13 posts
Joined: Oct. 2013
Offline
Working with grains, I'm trying to use “Enable Rigid Shape Matching” (enablerigids on mouseover) on a partial mesh but I've been unsuccessful so far.
The docs doesn't even cover if it's a point or primitive attribute but when experimenting, trying both, nothing seems to produce any change in the sim.

Any insight on this? Thanks!
User Avatar
Member
8531 posts
Joined: July 2007
Online
Enable Rigid Shape Matching checkbox is not directly controlable by an attribute, it's just a switch

but you can add primitive attribute called isrigid to your constraint geometry to control rigidity of the constraints if you have that switch enabled

so if that attribute is present and Enable Rigid Shape Matching is enabled, each connected island of constraints marked @isrigid=1 will be treated as rigid and @isrigid=0 will stay as “soft” constraints
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
13 posts
Joined: Oct. 2013
Offline
That did the trick, thanks Tamte.
Where do you find info about this though?
I can't find anything about the isrigid attribute in the docs of even on google.
User Avatar
Member
8531 posts
Joined: July 2007
Online
Mattias Magito2

Where do you find info about this though?….

I looked inside of POP Grains node and was lucky enough to find it in there
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
2 posts
Joined: May 2015
Offline
Thank you Tomas, wished they added that to the help docs
  • Quick Links