Compound shape for Jit.Phys.body

Martin Daigle's icon

I am building a shape for a PONG game. I want my paddles to have a curve to it so that the ball is thrown at varying angles depending on the collision with the ball.

I have been able to modify the gridshape; however, Modifying the shape of the Phys body remains an issue. am I barking up the wrong tree?

Please help, and thanks in advance!

Max Patch
Copy patch and select New From Clipboard in Max.

Rob Ramirez's icon

not all jit.phys.body shapes support scaling in all dimensions (e.g. cylinder supports 2, and sphere only supports a single), so for this particular shape I thin you are best to use something like matrixoutput mode 2 with a capsule gridshape.

see if this gets you going

Max Patch
Copy patch and select New From Clipboard in Max.