Hi,
Is it possible to swap rbd simulated object to different one while simulating? For example bunch of simulated boxes changes at random to spheres which inherit position, rotation and continue to simulate.
Swap rbd during simulation
1926 2 2- Orsonorix
- Member
- 25 posts
- Joined: 4月 2015
- Offline
- cwhite
- スタッフ
- 750 posts
- Joined: 10月 2012
- Offline
I think you can do this by first replacing the packed prims' contents with the new shape(e.g. with the Pack Inject SOP, or by copying the point attribs over to new packed prims) and then resetting the 'id' point attrib to -1 which will cause the solver to re-import the shape. You might also set 'computecom' and/or 'computemass' to 1 if you want those properties to be recomputed for the new geometry.
- Orsonorix
- Member
- 25 posts
- Joined: 4月 2015
- Offline
-
- Quick Links