Using phys.picker with gl.path?

Jan 11, 2013 at 5:15am

Using phys.picker with gl.path?

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?

#66006
Jan 11, 2013 at 4:58pm

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.

#237657
Jan 11, 2013 at 6:59pm

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.

#237658

You must be logged in to reply to this topic.