Hi,
I'm trying to draw a line that is 25 pixels away based on a position in my 3D scene but reporject2D3D seems to be not working for me.
vertex1 = new SimpleVector(centerX, topY, minZ);
// Get the point in 3D space and convert to 2D screen space.
point1 = Interact2D.project3D2D(theWorld.getCamera(), fb, vertex1);
if(point1 != null)
{
// Add 25 to the screen X and convert back to 3D world space.
vertex2 = Interact2D.reproject2D3D(theWorld.getCamera(), fb, (int)point1.x+25, (int)point1.y, minZ);
vertex2 gives me back odd results.
Am I using this right?
Thanks for all the help thus far.
S.