i like to get the x-y pick point of a billboard plane. simple, steady plane works OK, even billboard, if the cam just pans. but it did not work on the billboard with different cam view angle. i guess, i need to calculate the camera rotation out of it, somehow?
I’m not sure to fully understand what you need. You already have the picked point on your plane with the pointerInfo.pickInfo.pickedPoint. What else do you need?
i need the x-y coordinates relative to the upper left corner of the clicked billboard. there will be a icon row on the billboard texture and i need to distinguish which icon got clicked.
this means, when i click the upper left corner, i expect a click point of a bit more of 0,0, when i click the lower right corner, i expect something a bit less then 4,3.
this is not working in my case. i need to keep track of used vertices, etc. i just need to subtract the rotation and don’t need to throw more meshes on the problem.
do you think, it is impossible to make the calculation? or to complicated? even more complicated as to add 5 or 6 buttons to each plane, parent them to the plane and handle several hundret planes with 5 or 6 buttons on each plane?
i think, economicaly it would be better to do the calculation instead of handle a multitude of objects.