I am trying to script something that when,
A child prim attached to a root prim is given a key
And the Users client is at 1024x768 resolution
and the users FOV is at 60
It's not that i want to check the clients resolution or FOV, i am just saying i know this has something to do with perspective so that's the perspective that i am working with.
that the child prim appears to move it's self over that part of the users interface where the targeted avatar is standing and resizes it's self appropriately to mimic distance.
I know how to get my position, and my rotation, and the targets position, and the child prims position and local position and the root prims local rotation.
But i do not know what kind of formula i need to use to get the information to tell the child prim where to put it's position and what to set it's scale.
I would really love to learn how to do something like this. there is also a few other things i wish to ask if i can get past this, Scripting to me is the funnest thing in the world till i run into something that i don't even have a remote idea of where to start.
If you don't understand what i am asking i can try to draw a picture or demonstrate in world.