Forums > Jitter

Using phys.picker with gl.path?

January 11, 2013 | 5:15 am

I’m trying to figure out if its possible to use jit.phys.picker with a jit.gl.path.

It seems that the path is not selectable using the picker. Have i got this wrong or is there a way to convert a path into a selectable object while maintaining the ability to add new points to it?


January 11, 2013 | 4:58 pm

you are correct, jit.gl.path does not support picking (i assume you mean jit.gl.picker, and not jit.phys.picker?)

i can look at supporting this for the next update, but it will simply be bounding-box based, meaning if you click anywhere in the box that encloses the path points, you will get a hit.
you will not be able to test for clicking directly on the path itself.


January 11, 2013 | 6:59 pm

Yes sorry gl.picker. It would be great to have this functionality and the bounding box will work just great for my current needs. Thanks for clearing that up for me Rob.


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