R0J0hound megatronx
Can any of you help me please?
I am trying to convert 3D pos into 2D pos, but I had no success...
{I forgot to completely translate the comment from portuguese to english, but
the function call is:
Function.Call("Convert3Dto2D", <layername>, x, y, z, camx, camy, camz)
and ignore the extra things that are written there, it was for testing and it failed}
*There is some events that were cut off... But it is basically:
Rojo3D.orientXX("camera")+DedicatedTo3DConversion.Get("X") +
Rojo3D.orientXY("camera")+DedicatedTo3DConversion.Get("Y") +
Rojo3D.orientXZ("camera")+DedicatedTo3DConversion.Get("Z")
...... (and similar to the rest)
* The yellow box is the image that I am trying to set the 2D pos from the 3D pos conversion.
* The 3D pos is from that mesh that looks a lot like a Minecraft piston block.
But the conversion isn't accurate and sometimes when I rotate the camera It gets off the object.
Also, if I go foward the object it stills visible at screen
Also+ , If I turn around from that position from last image I won't see it anyway and inside the debugg console will show it's position will be really away.
*I think with these I could achieve the '3D text'