Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hey ,
I want a option panel which i will create to move along with me at certain distance along with me.
is it possible to do so using script?
Solved! Go to Solution.
Hi @Nithin,
I think this is possible as already mentioned by @sdidier using only 3d elements in Studio ,where you can use the click event on them involving your menu /menu option functionality.
This will be possible after some calculation via the
tml3dRenderer.setupTrackingEventsCommand()
Here you can check the following related posts:
Tag-Along 3D Labels in HoloLens experiences (related to HoloLens but it will be nearly the same also for mobile devices )
and also as additnal information this post :
Hello Nithin,
To be able to do that in OpenGL, it is needed to have access to World Matrix and Camera Matrix.
More details about various matrix and math behind that in 3D Open GL API.
https://learnopengl.com/Getting-started/Coordinate-Systems
By the way, it is the same in DirectX also
As far, I know, in Vuforia Studio, we don't have access directly to these matrix.
I am checking that internally at PTC to be sure.
The idea, is to convert 2D UI world coordinate to 3D world position.
After that, we can apply that to the 3D plane object (a billboard with only one face visible)
In Vuforia Studio, in 3D Label, 3D Image, and 3D Gauge, we have a Property named Billboard to do that.
Best regards,
Samuel
Hi @Nithin,
I think this is possible as already mentioned by @sdidier using only 3d elements in Studio ,where you can use the click event on them involving your menu /menu option functionality.
This will be possible after some calculation via the
tml3dRenderer.setupTrackingEventsCommand()
Here you can check the following related posts:
Tag-Along 3D Labels in HoloLens experiences (related to HoloLens but it will be nearly the same also for mobile devices )
and also as additnal information this post :