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

Jan 5, 2012 at 3:21am

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

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.

#61033
Jan 6, 2012 at 7:01pm

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. –
#219901
Jan 12, 2012 at 2:44pm

Ooh, very handy, thanks!

#219902

You must be logged in to reply to this topic.