custom 2d matrix shapes in jit.phys

Feb 13, 2013 at 1:13am

custom 2d matrix shapes in jit.phys

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. –
#66487
Feb 13, 2013 at 6:12pm

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

#239307

You must be logged in to reply to this topic.