Forums > Jitter

jit.phys.ghost + jit.phys.picker?

Jan 05 2012 | 3:21 am

Is there a way to use jit.phys.picker to only control a specific jit.phys.ghost object? Jit.phys.ghost doesn’t seem to allow assigning a filterclass, so I’m stuck as to an elegant way to have a jit.phys.ghost object that follows the mouse, and is only ‘active’ when the mouse is down.

Jan 06 2012 | 7:01 pm

phys.picker currently only works with rigid-bodies (phys.body or phys.multiple).

to control phys.ghost with the mouse, you can do something like the following:

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

Jan 12 2012 | 2:44 pm

Ooh, very handy, thanks!

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

Forums > Jitter