Forums > Jitter

custom 2d matrix shapes in jit.phys

February 13, 2013 | 1:13 am

I’m trying to use two custom 2d matrix shapes in jit.phys.
I used matmat’s CameraToPhysic2d patch and made an other dynamicmesh. Thetwo sets of converted pixels of to a dynamicmesh in the jit.phys.bodies work both on the gridshape blocks but they don’t work with each other. The dynamicmesh just goes (slowly) through the other dynamicmesh.

When the gridshape blocks are disabled the dynamicmesh also goes through the worldbox, which should not happen.
Eventually the dynamicmesh has to be linked to the videoplane in it phys-movements.

am I missing something?
thanks in advance

– Pasted Max Patch, click to expand. –

February 13, 2013 | 6:12 pm

dynamicmesh shapes should only be used with non-moving rigid-bodies (@mass 0 or @kinematic 1).
you can try changing the shape to concave.


Viewing 2 posts - 1 through 2 (of 2 total)