Forums > Jitter

Create an "unpickable" phys.body?

Apr 13 2014 | 9:17 am

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?

Apr 13 2014 | 9:43 am

If you don’t need to draw the cube body, you can use the @worldbox_scale attribute of

-- Pasted Max Patch, click to expand. --

Apr 13 2014 | 10:38 am

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…

Apr 14 2014 | 5:02 am

Thanks! That’s exactly what I wanted!

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

Forums > Jitter