Retrieve coordinates through picking?

Hi!

I have big square plane in my scene/view. How can I retrieve the coordinates (corresponding to 3D) of the point of plane where I make a click…?

Through picking I can only get the list of nodes[], but it is not enough for my application. I need the actual coordinates as well.

Can’t find how to do that with Xith3D… :frowning:
I could try to implement this myself, but I’d like to avoid extra coding… Am I missing something? Hope so…

Anybody help? Please!

Thanks,
Bohdan.

Oh - I fear you have to do that yourself. This problem is discussed in http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=xith3d;action=display;num=1092602165

Arne

Hi Arne,

Thank you very much. Yes, there is some interesting information, which will probably help me!

But still - surprised that this kind of functionality is not included as something standart to the package…?? As far as I concern many developers would love something like this to be there…

Sincerely,
Bohdan.

If you create a utility package and add it to the Xith3D Toolkit Project (which you can join as a developer), your code will be distributed along side Xith3D.

Please view the instructions here: http://xith.org/XithToolkitContributions

Your contribution would be appreciated.

EDIT: If you feel your code should be in the core (instead of the toolkit), then create an Issue with your patch, and we will review it.

Cheers,

Will.