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?
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.
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.
C74 RSS Feed | © Copyright Cycling '74