Create an "unpickable" phys.body?

tetsuo's icon

Dear Everyone,

As a newbie to Jitter, I have been strugling around for weeks to find a solution to my problem.
I want to create a world with balls rebounding on the walls.

I tried to make a phys.body on a wall to create this "rebound" effect, and a ball. Whenever the camera is behind a this wall, the mouse automatically pick the phys.body, although I only want to pick the ball!

See the patch attached: whenever the ball is under the ground, you wont be able to grab it anymore.
Is there a way to create "unpickable" phys bodies in jitter?

Jitter_physobject.maxpat
Max Patch
LSka's icon
Max Patch
Copy patch and select New From Clipboard in Max.

If you don't need to draw the cube body, you can use the @worldbox_scale attribute of jit.phys.world:

tetsuo's icon

Sorry but what does it change?
I still can't grab the ball if I had another body to make the ball rebounding on the ground...

Tobias Rosenberger's icon
tetsuo's icon

Thanks! That's exactly what I wanted!