Add/Remove objects to jit.phys.multiple?

lindseymysse's icon

Is it possible to add and remove objects from a jit.phys.multiple?

Currently, if I change the Dim of the matrix in, I have to delete/re-create the jit.phys.multiple object. If I hit bang a second time every jit.phys.body object simply disappear. An example of what I'm doing is attached.

If this isn't possible, what are some good patterns to add/remove objects from the jit.phys.world?

Cheers,

Lindsey

physics-experiments.maxpat
Max Patch
phiol's icon

Hi lindseymysse

Remove or make invisible?

Removing a point.
I'm sure there's a way jit.gen using [swiz] and [vec]. I can't help you with this one

Making a point (or several) disappear have look @ the patch "physical_string_w._anchoir-point_hinges.zip" in the attachment
i just posted here a few minutes ago.

hope it can help

phiol