Orient the direction of a 3D arrow according to the camera
Hi,
I would like to ask the community if there is a way to orient a 3D arrow following the direction of the camera.
I mean, I have already obtained the eyepos, eyedir & eyeup values. I know how to use eyepos, but I don't know how to use eyedir & eyeup values in order to give an arrow the right direction.
Currently, what I have built is a test project with 2 views:
1) a view used from a mobile device that every second send to Thingworx eyepos values.
2) a view used in preview mode on a laptop that gets the eyepos values from Thingworx and gives these values to a 3D moving gauge, simulating the position of the mobile device in the area.
But this 3D gauge is in billboard mode, so it's always showing his main face.
I would like to transform this billboard gauge into a rotating arrow pointing the direction of the camera.
Any ideas?

