set packed pieces Active

   1833   2   1
User Avatar
Staff
3459 posts
Joined: July 2005
Offline
in a bullet sim, I have a simple fractured torus (packed primitives) and I'm hitting them with a sphere,
I've used another thread to figure out how to activate the torus on the impact of the sphere but I can't figure out how to activate just the pieces that are hit - instead of all the pieces at the same time…
I'm sure the pop wrangle is involved but I'm stuck on how to control the ‘active’ attribute using the ‘impulse’ data.
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Staff
748 posts
Joined: Oct. 2012
Offline
If you're looking at the impact data, the ‘primnum’ / ‘otherobjprimnum’ fields should tell you which packed primitives were hit, and you can then set the ‘active’ point attribute on those primitives.
User Avatar
Staff
3459 posts
Joined: July 2005
Offline
I was hoping to do it by filling a group with pieces that have an impulse above some value - then let the regular forces have an effect…
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
  • Quick Links