Forums > Jitter

tombola sequencer

February 21, 2013 | 2:50 pm

Hi, I’m trying to make a sequencer like the tombola sequencer from Teenage Engineering OP-1. Could anyone show me the right way to do it? I’ve started with this


February 21, 2013 | 2:57 pm
– Pasted Max Patch, click to expand. –

February 25, 2013 | 5:36 pm

I’ve made an opencylinder but I don’t have a collison when put a sphere in it.

– Pasted Max Patch, click to expand. –

February 25, 2013 | 8:16 pm

in order to use concave shapes with jit.phys.body, you need to send a matrix of points describing the shape to the object.
check out the "matrix" tab of the phys.body help file for more info.
i’ve updated your patch to show proper usage of this technique.
notice the use of @shape dynamicmesh and @kinematic 1
dynamicmesh will allow you to update your point matrix dynamically (possibly not necessary for your needs)
enabling kinematic will allow you to apply position and rotation transformations to the rigid body.
we use jit.gl.mesh to draw the shape.

– Pasted Max Patch, click to expand. –

February 26, 2013 | 12:27 am

thank you ! very helpful ! :)


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