I'm trying to draw a 3D line (using Vectrosity, if it matters) from a NGUI sprite to an object in the world.
I need a starting world Vector3 and an end world Vector3. Starting Vector3 is the transform.position of the world object, which works fine.
Now, I'm trying to convert the position from my 3D NGUI UISprite widget to a world coordinate, given the current position of the camera/view. For the life of me I can't figure out the correct conversion. Without any conversion, the line is drawn to the actual NGUI object in-world, but that obviously doesn't match up with the camera projection.
Any help would be much appreciated.