On 1.8.2013 22:33, Richard Bair wrote:
How does that fit in with the 2D-ish picking events we deliver now?  If a 
cylinder is picked, how do we describe which part of the cylinder was picked?
Pavel or Chien will have to pipe in on this part of the question, I don't know.


Similar to 2D, the delivered event has coordinates in the cylinder's local coordinate space, so getX(), getY(), getZ() tell you the intersection point of the pick ray cast to the scene by cursor position and the cylinder. Moreover, the events have getPickResult() from which you can obtain also distance from camera, picked face (not used for cylinder but identifies picked triangle for a mesh) and texture coordinates.

Pavel

Reply via email to